DEV Community

Cover image for I built DraftCode.io — A modern, open LeetCode-style platform for coding challenges
Rotonda
Rotonda

Posted on

I built DraftCode.io — A modern, open LeetCode-style platform for coding challenges

Hey devs!

I recently launched DraftCode.io, a platform like LeetCode — but open, modern, and developer-friendly.

Built for learning, interviewing, and building coding skills, DraftCode lets you solve challenges, submit code, and get real-time feedback across multiple languages.

Features

  • Code editor powered by Monaco (VS Code)
  • Test case evaluation & scoring (custom or public problems)
  • Docker sandbox for safe code execution
  • AI-based problem generation (coming soon)
  • User submissions with history and leaderboard

Tech Stack

  • Frontend: React + Tailwind + TanStack Table
  • Backend: Flask (Python) + PostgreSQL
  • Execution: Judge0 API (via Docker)
  • Auth: Firebase Auth
  • Infra: Vercel (frontend), Railway/EC2 (backend)

Why I built it

LeetCode is great, but:

  • Closed platform with limited community control
  • No easy way to create your own challenges or build learning paths
  • Difficult to customize or integrate into personal sites/tools

So I made DraftCode — a modular platform for running and solving code problems, perfect for:

  • Interview prep
  • CS clubs/bootcamps
  • Internal dev challenges

Try it out

draftcode

I'd love feedback!

  • Would you use this as an alternative to LeetCode?
  • What features would make it better for your workflow?
  • Interested in an AI tutor for step-by-step solutions?

Let me know what you think!

Top comments (0)