This is a MERN stack app with authentication using JWT and Redux for state management
Clone the project
git clone https://github.com/the-error4-0-4/MERN.git
Go to the project directory
-
Then go to the backend directory and install dependencies using
npm install
-
Create the
.env
file in the backend directory and make the variables listed below -
run the server using
npm run dev
-
Then go to the frontend directory and install dependencies using
npm install
-
run the server using
npm start
To run this project, you will need to add the following environment variables to your .env file in the backend folder
PORT
MONGO_URI
SECRET_KEY