A simple to use MERN (MongoDB, Express, Redux/React and Node) boilerplate to build Web Apps.
- git clone https://github.com/C0lliNN/Mern-Boilerplate.git
- Run 'yarn install' in both the client and server folders
- 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.
- Run 'yarn start'
- 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'
- 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.