Skip to content

riya-kaurav/Code-Execution-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scalable Code Execution Engine

Overview

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.

Features

Code Execution

  • Supports multiple languages (C, C++, Python, JavaScript).
  • Executes code in isolated Docker containers for safety.
  • Captures stdout, stderr, and execution time.

Coding Problems

  • Browse problems with title, difficulty, and description.
  • Submit code for evaluation.
  • Judge runs code using predefined test cases.

Clean UI

  • Monaco-based code editor
  • Output panel (stdout, stderr, time)
  • Problem page with test cases & submit button


Running Locally

Clone

git clone cd project

Install Client

cd client npm install npm run dev

Install Server

cd server npm install node server.js




Contributing

Pull requests are welcome. For updates, open an issue.


Docker-Based Execution

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors