How key-runnnnnnn/bitcode works
Project type and purpose
• This is a full-stack web application named “Bitcode” – an online coding platform that offers:
• User authentication (signup/signin via Firebase + JWT)
• Interactive coding problems with AI-powered hints, explanations, test case generation, complexity analysis, video solutions, etc.
• Code submission and execution
• Profile, bookmarks, courses, interviews, contests and an admin dashboard for managing questions, users and settings.
File structure
• Top-level split into “frontend” (React/Vite/Tailwind app) and “backend” (Node.js/Express + controllers + models + routes).
• Backend uses MVC-style organization:
• config/ for DB & Firebase setup
• controllers/ grouped by domain (Auth, AdminController, AiFeatures, Profile, Settings)
• models/ define data schemas for auth, questions, templates, utils
• query/ for raw SQL operations (bookmarks, submissions, discussions)
• routes/ to wire controllers to API endpoints
• Frontend structure mirrors features:
• src/Components segmented by domain (Auth, Problems, Course, Interview, Admin, Profile, Settings, Common UI)
• src/Pages for route‐level composition
• state management via Zustand + React Context
• third-party integrations: Firebase SDK + code editor + AI UI components
• Shared config: package.json, .gitignore, Vite and Tailwind configs
README
• Only “### BITCODE” title given, but project purpose is clear from naming conventions and code.