Website Link · Frontend repository link · Backend repository link
- Clone the repository.
- Install dependencies using
npm install
. - Run the server using
npm run dev
.
- Environment Variables:
PORT
: Port number the server listens on. Default: 3000MONGODB_URI
: URI for MongoDB database.JWT_SECRET
: Secret key for JWT token generation.EXPIRES_IN
: Token expiration time.
- Node js
- Express js
- Mongodb
bcrypt
: Library for hashing passwords.cors
: Express middleware for enabling CORS.dotenv
: Loads environment variables from .env file.express
: Web framework for Node.js.jsonwebtoken
: Library for generating and verifying JWT tokens.mongodb
: MongoDB driver for Node.js.nodemon
: Utility for automatically restarting the server during development.