This project is an online code compiler platform with a Django backend and a React (Vite) frontend. It allows users to write, submit, and execute code online.
backend/ # Django backend for code execution and management
compiler/ # Django project and apps
code_execution/ # Handles code execution logic
input/ # Handles input management
output/ # Handles output management
compiler/ # Django project settings and URLs
manage.py # Django management script
README-deploy.md # Backend deployment instructions
requirements.txt # Python dependencies
frontend/ # React frontend (Vite)
src/ # Source code for React app
components/ # Reusable UI components
pages/ # Application pages (e.g., Compiler)
lib/ # Utility functions
assets/ # Static assets
public/ # Public static files
package.json # Node.js dependencies
vite.config.ts # Vite configuration
README.md # Frontend documentation
- Navigate to the backend directory:
cd backend/compiler
- Install dependencies:
pip install -r ../requirements.txt
- Run migrations:
python manage.py migrate
- Start the development server:
python manage.py runserver
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Online code editor and compiler
- Django backend for code execution
- Modern React frontend with Vite
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.