A web-based code editor built to improve your experience solving problems on Baekjoon Online Judge.
Write, format, and test your Java, Python, or JavaScript code directly in the browser — fast, minimal, and beginner-friendly.

- ✍️ Supports Java, Python, and JavaScript
- 🧠 Toggle autocomplete with Ace Editor
- 🧪 Create, edit, and remove custom test cases
- ✅ Compare expected vs. actual output
- 🎯 Code formatting using Prettier (for JS) or remote API
- 📋 Copy code to clipboard with one click
- Docker & Docker Compose must be installed
git clone https://github.com/rlaehdals/boj-code-editor.git
cd boj-code-editor
./deploy.sh
- On the first launch, choose Option 1 when prompted.
- Follow the on-screen instructions to complete the setup.
- Open your browser and go to http://localhost:3000
To expose the editor to the public, follow these steps:
- Point your domain to a server with NGINX and configure a reverse proxy.
- If needed, just fill in the values for the 3 configuration files below.
- Frontend:
https://example.com
- Server:
https://api.example.com
- Executor:
https://code.example.com
- Server (
application.yaml
)code: executor: url: https://code.example.com
- Frontend (
.env
)REACT_APP_API_URL=https://api.example.com
- Executor (
docker-compose.yaml
)environment: - ALLOWED_ORIGIN="https://api.example.com"
.
├── algorithm # Springboot-based web Server
├── algorithm-front # React-based web editor (CodeEditor.js)
├── java-executor # Java code executor server
├── python-executor # Python code executor server
├── javascript-executor # JavaScript code executor server
└── deploy.sh # One-click deploy script
This project is licensed under the MIT License.