MyCoder is a highly scalable, secure, and professional online coding platform designed for developers to practice, assess, and master their coding skills. Built with modern technologies, it offers a seamless experience from algorithm practice to enterprise-level team collaboration.
- Real-time Execution: Securely run code in isolated sandboxes.
- Multi-Language Support: Native support for Python, JavaScript, TypeScript, Go, and Rust.
- Enterprise-Grade Workspaces: Multi-tenant architecture with RBAC (Role-Based Access Control).
- AI Debugging Assistant: Integrated AI to help you optimize and debug your code.
- Comprehensive Analytics: Track your progress with detailed submission history and performance stats.
- Scalable Architecture: Designed to handle high-concurrency code executions.
graph TD
A[Client - Next.js] -->|HTTPS/WSS| B[API Gateway - Next.js API]
B -->|Auth| C[Supabase Auth]
B -->|Data| D[Supabase Postgres]
B -->|Queue| E[Redis Queue]
E -->|Poll| F[Execution Workers]
F -->|Spawn| G[Docker Sandboxes]
G -->|Stdout/Stderr| F
F -->|Result| E
E -->|Pub/Sub| B
B -->|SSE| A
- Frontend: Next.js 15, Tailwind CSS, Radix UI, Monaco Editor
- Backend: Next.js API Routes, Supabase (Database & Auth)
- Execution: Redis-backed queue with isolated Docker/Process workers
- AI: OpenRouter (GPT-4o-mini)
- Payments: Razorpay Integration
- Bun (recommended) or Node.js
- Supabase Project (URL and Anon/Service Keys)
- Redis Instance (Upstash recommended)
- OpenRouter API Key (for AI features)
- Razorpay Keys (for subscriptions)
-
Clone the repository:
git clone https://github.com/Saurabhdixit93/MyCoder-Coding-Platform.git cd MyCoder--Coding-Platform -
Install dependencies:
bun install
-
Configure Environment Variables: Create a
.env.localfile with the following keys:NEXT_PUBLIC_SUPABASE_URL=... NEXT_PUBLIC_SUPABASE_ANON_KEY=... SUPABASE_SERVICE_ROLE_KEY=... DATABASE_URL=... JWT_SECRET=... OPENROUTER_API_KEY=... RAZORPAY_KEY_ID=... RAZORPAY_KEY_SECRET=... SMTP_HOST=... SMTP_USER=... SMTP_PASS=...
-
Run the development server:
bun dev
This project is licensed under the MIT License - see the LICENSE file for details.
© 2026 MyCoder Inc. Build with confidence.