A full-stack online code execution and judging platform built with React, Node.js, Express, MongoDB, and Docker-based sandboxing.
It allows users to write code, run it in a secure container, and attempt coding problems with automated evaluation.
- Supports multiple languages (C, C++, Python, JavaScript).
- Executes code in isolated Docker containers for safety.
- Captures stdout, stderr, and execution time.
- Browse problems with title, difficulty, and description.
- Submit code for evaluation.
- Judge runs code using predefined test cases.
- Monaco-based code editor
- Output panel (stdout, stderr, time)
- Problem page with test cases & submit button
git clone cd project
cd client npm install npm run dev
cd server npm install node server.js
Pull requests are welcome. For updates, open an issue.
Each code run spins up a new lightweight container like this:
docker run --rm -m 256m --cpus="1" \
-v /server/temp:/app \
sandbox-image python3 code.py