It contains features:
- webpack dev server by express middleware
- webpack hot replacement
- css modules
- express server and pug template
- pm2 process manager
git clone git@github.com:shaojinghong/react-simple-boilerplate.git
cd react-simple-boilerplate
npm i
- start webpack and launch webpack dev server
npm run dev
- start your app server
npm run server
then visit "http://localhost:3001"
- build your font-end source code .
npm run build
- start your app product server
npm run prod-server