- Backend infrastructure for an e commerce application.
-
Fork the repository.
-
Clone the project.
git clone repository-url
- Install dependencies.
npm install
- Create and update
.env
file.
PORT=YOUR_PORT
MONGODB_URL=YOUR_MONGODB_URL
JWT_SECRET_KEY=YOUR_JWT_SECRET_KEY
JWT_REFRESH_SECRET_KEY=YOUR_REFRESH_SECRET_KEY
EMAIL=YOUR_EMAIL
EMAIL_PASSWORD=YOUR_EMAIL_PASSWORD
- Run the server.
npm start
- Check the endpoints via postman/frontend.