Production ready React-Redux-Saga boilerplate with Server Side Rendering support.
- Babel 6.26
- Webpack 4.8
- React 16.3
- React-Router 4.2
- Redux 4.0
- Redux-saga 0.16
- Css-modules
- SVG Sprotesheets
View package.json
for more details
npm i rimraf -g
npm i
npm start - dev
npm run build - production build
npm run prod - starts production Express server; must build first
npm run api - starts "dev only" api server at http://localhost:3001
cp .env.example .env
Run each command in new terminal simultaneously
npm run api
npm start
Production api should be available as a separate service. Update API_ROOT
at /src/redux/services/api
npm run build
npm run prod