Skip to content

ThengaCoders/leetcomp-frontend

Repository files navigation


LeetComp Logo

LeetComp

Where Lee's meet to compete
View Live Demo »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Features
  3. Getting Started
  4. Team & Contributors
  5. License

About The Project

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:

  1. Sign in with Google / OAuth
  2. Create a room with room code, entry fee, and end time
  3. Users join using the room code and provide their LeetCode ID
  4. Track the number of questions solved before and after joining
  5. At the end time, users with the most questions solved win the prize pool

Prize Pool Calculation:
Entry fee × Number of participants

Features

  • 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)

Built With

This section lists the major frameworks, libraries, and tools used in LeeComp.

  • React - Frontend library
  • Node.js - Backend runtime
  • Express - Backend framework
  • PostgreSQL - Database
  • Axios - HTTP client for frontend
  • React Router - Frontend routing
  • Prisma - Database ORM
  • LeetCode API - Track solved problems

Getting Started

Follow these instructions to set up LeeComp locally.

Prerequisites

  • Node.js & npm installed
  • Git installed
  • PostgreSQL installed and running

Installation

  1. 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
  1. Frontend Setup
git clone https://github.com/ThengaCoders/leetcomp-frontend.git
cd leetcomp-frontend
npm install
npm run dev

Team & Contributors

ARVIND K N | AKASH T J | DEVA VINOD| EMIR ZIYAN| JEFIN JOJI| NEHA MATHEW| SMITHIN J RAJ|

License

This project is licensed under the MIT License. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Contributors 8