Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.38 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.38 KB

MERN Boilerplate

MongoDB Express React Nodejs

A simple to use MERN (MongoDB, Express, Redux/React and Node) boilerplate to build Web Apps.

Installation

How to use - Server

  • Duplicate the file '.env.example' and change its name to '.env'
  • Update the Environment Variables in '.env' as needed
  • Run 'yarn dev' to start the API using nodemon.

How to use - Client

  • Run 'yarn start'

Deployment

  • In the client folder, run 'yarn deploy'
  • In the server folder, set 'NODE_ENV' to 'production' in the .env file.
  • In the server folder, run 'yarn production'

Considerations

  • The Additional Libraries used are available in the package.json in client and server folders.
  • The Sample App is a simple Todo App that provides Authentication on both the client and server.
  • Contributions, Comments and Suggestions are more than welcome.