Menu

I built a real-time competitive coding platform — Dev-Battle
🖼️

I built a real-time competitive coding platform — Dev-Battle

DEV Community·nitish kumar·6 months ago
#F6pe5Jzz
#showdev#webdev#typescript#react#live
Reading 0:00
15s threshold

Solo coding practice gets stale. I wanted something with real stakes — a platform

where two developers compete live on the same problem, under the same clock.

That's Dev-Battle .

How a match works

Create or join a lobby

Problem is broadcast to both players

Write and submit your code

Sandboxed runner judges the output

AI feedback is shown in the arena

XP and leaderboard rankings update live

Features

Real-time rooms — synchronized match state via WebSockets, low-latency updates

Sandboxed execution — isolated runners for safe, reproducible judging

AI feedback — hints and notes without giving away the answer

Progression system — XP, achievements, and a global leaderboard

Monorepo architecture — shared types and codegen keep client and server in sync

Stack

Layer Tech

Frontend React + Vite + TypeScript

Backend Node.js + WebSockets + REST

Execution Sandboxed container runner

Database SQL + Drizzle ORM

AI layer Optional AI microservice

Tooling pnpm monorepo + OpenAPI codegen

What's…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.