Skip to content

About

MyCoder is a highly scalable, secure, and professional online coding platform designed for developers to practice, assess, and master their coding skills.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MyCoder - Production-Grade Online Coding Platform

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.

🚀 Features

  • 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.

🏗 System Architecture

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
Loading

🛠 Tech Stack

  • 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

🏁 Getting Started

Prerequisites

  • 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)

Installation

  1. Clone the repository:

    git clone https://github.com/Saurabhdixit93/MyCoder-Coding-Platform.git
    cd MyCoder--Coding-Platform
  2. Install dependencies:

    bun install
  3. Configure Environment Variables: Create a .env.local file 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=...
  4. Run the development server:

    bun dev

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


© 2026 MyCoder Inc. Build with confidence.

About

MyCoder is a highly scalable, secure, and professional online coding platform designed for developers to practice, assess, and master their coding skills.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages