CodeZenith
Full-stack coding platform inspired by LeetCode with real-time code execution, Google OAuth & JWT authentication, daily timed contests, and curated DSA roadmaps.

Introduction
CodeZenith is a full-featured competitive programming and algorithmic problem-solving platform engineered to replicate and enhance the developer interview preparation workflow. Built to help engineers practice data structures and algorithms effectively, CodeZenith features an interactive Monaco code editor, real-time code execution against structured test suites, competitive timed contests, and granular submission analytics.
Core features
- Real-time multi-language code execution: Run and submit solutions in C++, Java, Python, and JavaScript against comprehensive edge case suites.
- Timed contests & live rankings: Join community coding competitions with real-time score tracking, penalty calculations, and leaderboard updates.
- Curated DSA roadmaps: Structured learning paths organized by topic—from Arrays and Graphs to Dynamic Programming and Advanced Trees.
- Google OAuth & JWT security: Secure user onboarding, session persistence, and role-based permissions.
- Submission analytics & runtime profiling: Visual breakdown of memory usage, execution speed percentile, and historical submission status.
How it works
- Select a challenge. Browse problems categorized by difficulty, tag, or topic roadmap.
- Write and test. Use the Monaco-powered IDE with syntax highlighting, autocomplete, and custom input testing.
- Execute against test cases. Submissions are processed by the remote runner microservice, verifying output against hidden inputs with strict memory and time limits.
- Analyze performance. View immediate feedback with detailed error traces, memory benchmarks, and historical progression metrics.
Tech stack
- React & Tailwind CSS: Clean, responsive dark-mode UI optimized for extended coding sessions.
- Node.js & Express.js: RESTful API server managing problems, submissions, discussions, and contest state.
- MongoDB & Mongoose: Document storage for complex problem descriptions, user profiles, and testcase definitions.
- Docker: Isolated sandbox containers executing untrusted code with resource capping.
Improvements I want to make
- Collaborative mock interviews: Real-time collaborative coding rooms with audio and shared whiteboard.
- AI solution hints: Contextual hints that guide engineers without revealing complete solutions prematurely.
- Automated test generator: Fuzz testing to identify boundary failures in user solutions automatically.
What I learned
Creating CodeZenith demanded a deep appreciation for application security—especially running arbitrary user code safely without risking host compromise or denial-of-service. It taught me how to decouple compute-heavy tasks from the main API layer using isolated execution workers.
Key Challenges
- Building a secure, sandboxed code execution engine with timeout and memory constraints
- Handling live leaderboard synchronization during high-traffic competitive contests
- Designing an extensible schema for multi-language testcase parsing and edge case verification
Key Learnings
- Containerized sandbox architecture for untrusted user code execution
- Scalable JWT & OAuth authentication flow with refresh tokens
- Database index optimization for rapid problem retrieval and user submission history