Table of Contents
LeetComp is a platform where programmers can compete together on LeetCode inside private challenge rooms.
Instead of solving problems alone, users can create or join paid competition rooms and compete for a prize pool.
How it works:
- Sign in with Google / OAuth
- Create a room with room code, entry fee, and end time
- Users join using the room code and provide their LeetCode ID
- Track the number of questions solved before and after joining
- At the end time, users with the most questions solved win the prize pool
Prize Pool Calculation:
Entry fee × Number of participants
- Create private coding rooms
- Join rooms via unique room code
- Entry fee payment & automatic prize pool calculation
- Real-time leaderboard
- Track LeetCode questions solved before vs after joining
- Automatic winner selection at end time
- Google / OAuth sign-in
- Room search by code
- Room countdown / end timer
- Transaction history / wallet
- Fully responsive UI (mobile + desktop)
This section lists the major frameworks, libraries, and tools used in LeeComp.
- Frontend library
- Backend runtime
- Backend framework
- Database
- HTTP client for frontend
- Frontend routing
- Database ORM
- Track solved problems
Follow these instructions to set up LeeComp locally.
- Node.js & npm installed
- Git installed
- PostgreSQL installed and running
- Backend Setup
git clone https://github.com/ThengaCoders/leetcomp-backend.git
cd leetcomp-backend
npm install
# Set up .env file with DB credentials and any API keys
node src/server.js- Frontend Setup
git clone https://github.com/ThengaCoders/leetcomp-frontend.git
cd leetcomp-frontend
npm install
npm run devARVIND K N | AKASH T J | DEVA VINOD| EMIR ZIYAN| JEFIN JOJI| NEHA MATHEW| SMITHIN J RAJ|
This project is licensed under the MIT License. See the LICENSE file for details.