Live Project Link : https://codeelabs.netlify.app/
This project is a LeetCode clone, providing a platform for users to practice coding problems, submit their solutions, and view leaderboards. It is built using Next.js for frontend, Express.js for the backend and MongoDB for database storage.
- Problem List: Users can view a list of all available coding problems.
- Individual Problem View: Users can view details of each individual problem and submit their solutions.
- Submission List: Users can view a list of all submissions made for coding problems.
- Leaderboard: Users can view a leaderboard ranking based on points scored.
- Frontend: Next.js, Tailwind CSS
- Backend: Node.js, Express.js,
- Database: MongoDB(for user data), Cloudinary (for storing user files)
- See All Problems List:
GET /problems
- See Each Individual Problem and Solve It:
GET /problems/:id
- Submission List:
GET /submissions
- Leaderboard:
GET /leaderboard
- ProblemList
- Fields:
title
,description
topic tags
,difficulty
,points
,hints
,examples
,constraints
- Fields:
- SubmissionList
- Fields:
problemSubmitted
,solvedStatus
,submitTime
,user
- Fields:
- UserList
- Fields:
name
,avatar
,pointsScored
,college
,email
,problems solved
- Fields:
- Clone the repository.
- Install dependencies using
npm install
. - Set up environment variables in a
.env
file. - Start the server using
npm start
.
This project is licensed under the MIT License.