MERN - Backend - Node, Express, Authentication, JWT, Middleware
-
Clone the repo
-
Create the .env file in the root folder and add the following variables MONGO_URI="mongodb://localhost:27017/mern" NODE_ENV=development JWT_SECRET_KEY=GhT89/ERrB2qw2
-
Run the command npm install to install the dependencies
-
To start the server use npm start or npm run dev which will start the server in the PORT 5000