CodeX
“Two people. One editor. Zero lag tolerated.”
A production written, directed and debugged by Ayush Bhardwaj
Next.js · React · Node.js · WebSockets · ConvexDB · Docker
Live coding interviews. One editor, two people, no lag.

The conflict
Technical interviews break when the editor lags and the code can't run safely.
Scenes worth the ticket
- Shared live editor
- Interview rooms
- Run code in 4 languages
- Interviewer feedback
- Recordings
The shooting scriptCodeX
01INT. NEXT.JS CLIENT — NIGHT
Sub-100 ms sync in a shared Monaco editor, using WebSockets and Operational Transformation.
(Two cursors. One file. Somehow, no fistfight.)
02INT. WEBSOCKET SYNC — LATER THAT NIGHT
A sandboxed Docker engine runs Python, Java, C++ and JS under strict resource limits.
(Strangers' code runs in a box. The box does not trust it either.)
03INT. AUTH + RBAC — 2 A.M.
JWT auth with interviewer / candidate roles and room management, built for 100+ concurrent users.
(Interviewer and candidate get different keys. Nobody swaps.)
The cast
- Next.jsasthe leading man
- Reactasthe leading face, frame after frame
- Node.jsasthe stagehand who never sleeps
- WebSocketsasthe gossip
- ConvexDBasthe memory
- Dockerasthe shipping crew, everything boxed
Dailies


Credits
- Full-stack, Real-time, Infrastructure
- Web app
- Live
