Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Mini LeetCode

A mini coding practice platform where users can solve programming problems, submit code, and track their progress — inspired by LeetCode, focused on the core experience:

Choose Problem → Read Question → Write Code → Run → Submit → See Result

Goal: build something that feels like a real product without recreating LeetCode from scratch.


Features

MVP (build these first)

🔐 Authentication

  • Register
  • Login / Logout
  • Protected routes (JWT)
  • Password hashing (bcrypt)

📚 Problems

  • Problem list
  • Problem description page
  • Difficulty: Easy / Medium / Hard
  • Topics/tags + category
  • Sample input/output
  • Constraints
  • Public + hidden test cases

💻 Code Editor

  • Integrated code editor (Monaco Editor or CodeMirror)
  • Language selection (start with 1 language for MVP)
  • Write solution
  • Run code with sample/custom input
  • Submit solution against hidden tests

🧪 Submission Result

Possible verdicts:

  • ✅ Accepted
  • ❌ Wrong Answer
  • ⚠ Runtime Error
  • ⏱ Time Limit Exceeded (optional for later)

📊 Progress Tracking

  • Problems solved
  • Easy/Medium/Hard counts
  • Submission history
  • Simple user dashboard

Run vs Submit (important)

▶ Run

Uses sample or custom input and shows output immediately.

🚀 Submit

Uses hidden test cases and returns a verdict (Accepted/Wrong Answer/etc.).


Tech Stack

Frontend

  • React
  • Tailwind CSS
  • React Router
  • Axios

Code Editor

Choose one:

  • Monaco Editor (recommended)
  • CodeMirror

Backend

  • Node.js
  • Express.js
  • JWT (Auth)
  • bcrypt (Password hashing)

Database

  • MongoDB
  • Mongoose
  • MongoDB Atlas (recommended)

Code Execution

For the first version, use a sandboxed code execution service (do not execute arbitrary code directly on your server).

  • Suggested: Judge0 (later / optional)

Architecture (high-level)

image

Check Frontend Here!

https://forum-scuba-97660747.figma.site/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages