Get started with the MERN (MongoDB, ExpressJS, ReactJS, NodeJS) stack. Includes ReduxJS for state management
- Install the npm modules using
$ npm install
$ npm run client-install
- Code! In particular modify
package.json
andconfig/default.json
file to include your database URL. - To test the API server only
$ npm run server
- To test the API + React development server
$ npm run dev
- Deployment is simple, for example to heroku. Just create a heroku app and push to the heroku repository, the
heroku-postbuild
script inpackage.json
takes care of building the React app
$ heroku create
$ git push heroku master