You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeScale is a full-stack, focused coding judge platform built for developers who want to sharpen their Data Structures & Algorithms skills. Think of it as a self-hosted, lightweight LeetCode — with a built-in AI assistant, a dry-run canvas, real code execution, and a beautiful dashboard to track your growth.
The platform currently supports JavaScript and Python, with 30 curated problems spanning Easy, Medium, and Hard difficulty levels.
✨ Key Features
Feature
Description
🧩 Problem Library
30 problems (10 Easy / 10 Medium / 10 Hard) with topic filters like Arrays, Trees, DP, Graphs and more
⚡ Live Code Execution
Write JavaScript or Python in a Monaco editor and run code with real test cases, getting instant verdicts
🤖 AI Chatbot Assistant
Built-in DSA-only AI (powered by Groq) that guides you on approach, complexity, and strategy — without giving away the answer
🖊️ Dry Run Canvas
A freehand drawing canvas to sketch arrays, trees, or graphs before writing a single line of code
📊 User Dashboard
Points, streaks, activity heatmap, submission breakdown, and a leaderboard — all in one place
📜 Submission History
Full history of every accepted/rejected submission with source code review
🔐 Auth System
JWT-based authentication with secure cookie storage, bcrypt password hashing, and Zod validation
👤 Account Management
Update name, email, password, and public bio from your account settings page
🛡️ Admin Panel
Protected admin routes to manage problems and platform analytics
🏆 Leaderboard
Global rankings by total points earned across all accepted problems
/api/v1/auth → Sign up, Sign in, Sign out
/api/v1/problems → Get all problems, get problem by ID
/api/v1/submission → Run code, submit solution
/api/v1/user → Profile, account update, submission history
/api/v1/analytics → Dashboard stats, activity heatmap, leaderboard
/api/v1/chatbot → AI DSA assistant (Groq-powered)
/api/v1/admin → Admin problem management & platform analytics