How audri-23/career-bridge-video-calling-interview-platform works
Career Bridge combines authenticated coding practice with backend-managed collaborative sessions. The main visible practice flow is a signed-in user opening a problem, editing and running starter code, then comparing execution output with expected output. Session endpoints create, join, list, and end sessions, coordinating persisted session state with Stream video/chat. The excerpts show these backend relationships, but not the frontend session experience or Inngest function behavior; those links are therefore omitted.
Main entry points: ProblemPage.jsx Problem workspace · server.js API server · App.jsx Route and auth shell · sessionRoutes.js Session routes
Components 27
Web application
- Route and auth shell
frontend/src/App.jsx - Home page
frontend/src/pages/HomePage.jsx - Dashboard
frontend/src/pages/DashboardPage.jsx
Coding practice
- Problem catalog
frontend/src/pages/ProblemsPage.jsx - Problem definitions
frontend/src/data/problems.js - Problem workspace
frontend/src/pages/ProblemPage.jsx - Problem description
frontend/src/components/ProblemDescription.jsx - Code editor
frontend/src/components/CodeEditorPanel.jsx - Code execution client
frontend/src/lib/wandbox.js - Output and test result
frontend/src/components/OutputPanel.jsx
Session API
- Session routes
backend/src/routes/sessionRoutes.js - Chat routes
backend/src/routes/chatRoutes.js - Session operations
backend/src/controllers/sessionController.js - Chat token handler
backend/src/controllers/chatController.js - Session records
backend/src/models/Session.js - API server
backend/src/server.js
Identity and infrastructure
- Route protection
backend/src/middleware/protectRoute.js - User records
backend/src/models/User.js - Database connection
backend/src/lib/db.js - Environment config
backend/src/lib/env.js - Stream integration
backend/src/lib/stream.js - Inngest functions
backend/src/lib/inngest.js
Other components
- User
- Clerk identity
- Wandbox execution service
- MongoDB
- Stream services
Connections 32
- User → Route and auth shell: opens
frontend/src/App.jsx - Route and auth shell → Home page: routes to
frontend/src/App.jsx - Route and auth shell → Dashboard: routes to
frontend/src/App.jsx - Route and auth shell → Problem catalog: routes to
frontend/src/App.jsx - Route and auth shell → Problem workspace: routes to
frontend/src/App.jsx - User → Problem workspace: solves
frontend/src/pages/ProblemPage.jsx - Problem workspace → Problem definitions: loads
frontend/src/pages/ProblemPage.jsx - Problem workspace → Problem description: renders
frontend/src/pages/ProblemPage.jsx - Problem workspace → Code editor: renders
frontend/src/pages/ProblemPage.jsx - Problem workspace → Code execution client: executes via
frontend/src/pages/ProblemPage.jsx - Problem workspace → Output and test result: renders
frontend/src/pages/ProblemPage.jsx - Problem catalog → Problem definitions: reads
frontend/src/pages/ProblemsPage.jsx - Code execution client → Wandbox execution service: submits code
frontend/src/lib/wandbox.js - User → Session routes: requests sessions
- API server → Session routes: mounts
backend/src/server.js - API server → Chat routes: mounts
backend/src/server.js - Session routes → Route protection: protects routes
backend/src/routes/sessionRoutes.js - Session routes → Session operations: dispatches
backend/src/routes/sessionRoutes.js - Chat routes → Route protection: protects route
backend/src/routes/chatRoutes.js - Chat routes → Chat token handler: dispatches
backend/src/routes/chatRoutes.js - Route protection → User records: looks up user
backend/src/middleware/protectRoute.js - Session operations → Session records: reads and writes
backend/src/controllers/sessionController.js - Session operations → Stream integration: coordinates calls
backend/src/controllers/sessionController.js - Chat token handler → Stream integration: uses client
backend/src/controllers/chatController.js - Stream integration → Stream services: connects
backend/src/lib/stream.js - API server → Database connection: connects on startup
backend/src/server.js - Database connection → MongoDB: connects
- API server → Inngest functions: serves functions
backend/src/server.js - API server → Environment config: configures from
backend/src/server.js - Database connection → Environment config: reads config
backend/src/lib/db.js - Stream integration → Environment config: reads keys
backend/src/lib/stream.js - Clerk identity → Route protection: authenticates