Skip to content

Get started with the MERN (MongoDB, ExpressJS, ReactJS, NodeJS) stack. Includes ReduxJS for state management

Notifications You must be signed in to change notification settings

rshrj/mern-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Starter

Get started with the MERN (MongoDB, ExpressJS, ReactJS, NodeJS) stack. Includes ReduxJS for state management

Steps

  1. Install the npm modules using
$ npm install
$ npm run client-install
  1. Code! In particular modify package.json and config/default.json file to include your database URL.
  2. To test the API server only
$ npm run server
  1. To test the API + React development server
$ npm run dev
  1. Deployment is simple, for example to heroku. Just create a heroku app and push to the heroku repository, the heroku-postbuild script in package.json takes care of building the React app
$ heroku create
$ git push heroku master

About

Get started with the MERN (MongoDB, ExpressJS, ReactJS, NodeJS) stack. Includes ReduxJS for state management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published