How bhavish2005/fixmate-cc-ide works
Project type and purpose
• This is a full-stack, real-time collaborative code editor (“FixMate”) aimed at pair programming, technical interviews, and remote learning.
• Frontend built with React/Vite for UI, Monaco for code editing, Stream.io for video/chat, and Socket.io for real-time sync.
• Backend built with Node.js/Express, MongoDB/Mongoose for data, Socket.io for live collaboration, Firebase Admin for OAuth, JWT for auth, and integrations with external AI (Google Gemini), code execution (Piston API), and email (Nodemailer).
File structure
• Top-level separation:
• CollabrativeCodeEditor/ → React/Vite client
• codeeditor-backend/ → Node/Express server
• Frontend folders:
• src/components – UI pieces (Navbar, ChatPanel, CodeEditor, VideoPanel, AI Sidebar)
• src/pages – route views (Dashboard, RoomPage, Login/Register)
• src/context/AuthContext, src/firebase.js – auth setup
• src/socket.js – Socket.io client initialization
• vite.config.js, public/index.html, package.json – build/config
• Backend folders:
• src/config – DB connection (db.js), Firebase Admin init
• src/controllers – request handlers (auth.controller.js)
• src/routes – endpoints (/auth, /stream)
• src/models – Mongoose schemas (User, Error)
• socket.js & index.js – Socket.io server, Express startup
• src/utils – JWT setup, Zod validation, sendEmail
• Configuration: .env variables for Mongo URI, JWT secrets, Stream keys, Gemini key, Firebase credentials, FRONTEND_URL.
README for additional insights
• Features: real-time editing, video/chat, AI assistant, code execution, secure auth, dashboards, Vim mode.
• Services: MongoDB Atlas, Firebase Auth, Stream.io, Piston API, Google Gemini.
• Tech stack table confirming React/Vite/TailwindCSS/FramerMotion on front, Node/Express/Mongo/Socket.io on back.
Final advice
• Keep it readable: group related elements (auth, streaming, data) visually.
• Iterate: start simple, then expand to show deeper integrations (e.g., Zod schema validation in auth flow).