🚀 Welcome to Online IDE, a sleek and powerful web-based integrated development environment that lets you write, compile, and execute code directly in your browser - anytime, anywhere!
- 🧠 Multi-language Support: Run code in C, C++, Python, Java, and JavaScript.
- 📱 Responsive Design: Use it seamlessly across desktops, tablets, and smartphones.
- ☁️ Cloud-Based Execution: No local setup required — everything runs via secure APIs.
Before running the Online IDE locally, make sure you have:
- Node.js – Download Node.js
Clone the repository and install dependencies:
git clone https://github.com/Divyadharshan/IDE.git
cd IDE
npm installCreate a .env file in the root of the project and add the following variables:
BASEURL=https://judge0-ce.p.rapidapi.com/submissions
API=YOUR_API_KEY🔐 Note:
BASEURLis the endpoint for Judge0 code submission.
APIis your RapidAPI key for authenticating requests. Keep it safe!
To start the development server locally:
npm startThen open your browser and visit:
👉 http://localhost:3000
🔗 https://ide-lake-two.vercel.app/
- 🔽 Choose a programming language from the dropdown.
- 🧾 Write your code in the editor.
- 📥 Select if input is required (
Yes/No). ▶️ Click the "Run" button.- 📤 View the output in real-time below the editor.
This IDE uses the Judge0 API to compile and execute code in the cloud:
- 🛰️
POSTto /submissions with language, source code, and input. - 🔁 Poll the token to get results using
GET /submissions/{token}. - 🛡️ Authenticated using your RapidAPI key in headers.