A simple web application that serves as a boilerplate to quickly develop MERN stack applications. This project makes use of MongoDB, Express, React, and Node.js. This boilerplate already includes authentication/authorization thanks to Passport and provides support for Sass.
After installing Node and cloning the repository, set your environment variables inside of a .env file like this:
JWT=# JWT Secret here
MONGO=# MongoDB URI hereOnce the environment variables are set, we install dependencies by running:
npm run setupTo start the backend server, run:
npm run serverTo start the frontend client, run:
npm run clientTo start the server and the client simultaneously, run:
npm run devIn order to use Redux for state management instead of the React Context API, switch to the redux branch by running:
git checkout redux