- User registration and authentication with JWT
- LeetCode handle management
- Streak tracking system
- Leaderboard functionality
- MongoDB integration with Prisma ORM
- Input validation and error handling
- Protected API routes
- Express.js - Web framework
- Prisma - Database ORM
- MongoDB - Database
- JWT - Authentication tokens
- bcryptjs - Password hashing
- TypeScript - Type safety
- CORS - Cross-origin requests
Clone the repository and install dependencies:
npm installSet up environment variables in .env file:
DATABASE_URL=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
PORT=3000Generate Prisma client and start development server:
npx prisma generate
npm run dev| Aman Singh |
Made with ❤ by GDSC-VIT