Skip to content

anoobhov/CodeDrill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Master Data Structures & Algorithms โ€” From Typing Code to Topping Contests

Welcome to CodeDrill, the ultimate military-themed DSA platform built to help you become an elite code commando. Whether you're a raw recruit or a battle-hardened programmer, CodeDrill is your mission control for mastering Data Structures, Algorithms, and competitive programming.


โ€œCode not just to solve problems, but to build discipline. CodeDrill is your training ground.โ€

image

๐Ÿš€ Features

  • ๐Ÿ”ฅ Daily Drills

    • Practice fresh, curated problems every day.
    • Problem timers to simulate real contest pressure.
  • ๐Ÿง  AI Hints System

    • Get smart hints powered by AI to break through logic blocks.
    • Works in real-time with context from your current problem.
  • ๐Ÿ“Š Submission Heatmap

    • GitHub-style heatmap calendar to visualize your submission streak.
    • Helps you track consistency and identify weak zones.
  • ๐Ÿงฎ Problem Sets & Special Sheets

    • Sheets for CP, Interviews, Codeforces ladders, etc.
    • Organized by topic and difficulty.
  • ๐ŸŽ–๏ธ Military Theme

    • Motivational design: Enlist as a code recruit and rise through the ranks.
    • Clean UI with rank-based progress visualization.
  • ๐Ÿ•’ Live Timer on Problems

    • Adds urgency like a real coding contest.
    • Track how long you took for each submission.
  • ๐Ÿ’ฌ AI Chatbot Assistant

    • Integrated AI chat window for logic walkthroughs and conceptual help.
  • ๐Ÿ“ฑ Responsive Design

    • Works seamlessly on desktop and mobile.

๐Ÿงฉ Tech Stack

Layer Tech
Frontend React.js, Tailwind CSS, ShadCN, React Router
Backend Node.js, Express.js
Database MongoDB (Mongoose ORM)
Code Execution Judge0 API
AI Gemini API for hints & assistant
Authentication JWT-based secure login
UI Elements Lucide Icons, Custom Theming

๐Ÿ“ˆ Screenshots

Problem Page UserDashboard
image image

๐Ÿงช How to Run Locally

# 1. Clone the repo
git clone https://github.com/your-username/codedrill.git
cd codedrill

# 2. Install dependencies
npm install

# 3. Setup Environment Variables (.env)
Fill this with your own values...
PORT = 
DATABASE_STRING=
JWTKEY=''
REDIS_PORT=
REDIS_PASS=
REDIS_HOST=
JUDGE0_API=
GEMINI_API=
CLOUDINARY_CLOUDNAME=
CLOUDINARY_APIKEY=
CLOUDINARY_APISECRET=
CLOUDINARY_API_ENVIRONMENTVARIABLE=CLOUDINARY_URL=

# 4. Start the server and client
npm run dev

About

Competitive Coding Platform

Resources

Stars

Watchers

Forks

Languages