- Node.js
- MongoDB URL
- Postman
npm install
This command will be installing all the package that listed in package.json file.
npm run dev
App will be running on port 5000 (http://localhost:5000).
Create file .env and make variable MONGO_URI and JWT_SECRET then assign the variable with MongoDB Atlas URL and JWT token.
Example :
MONGO_URI = mongodb+srv://admin:<password>@cluster0.8z0ls.mongodb.net/<database_name>?retryWrites=true&w=majority
JWT_SECRET=Super_secret_string
Open ./routes