How vinn31-git/interview-platform-ai works
InterviewMate is a mock-interview platform: users authenticate, configure and complete conversational or coding interviews, then review evaluations and historical performance. The React client calls an Express API; backend controllers handle authentication, interview records, AI interviewing, evaluation and code execution, with interview data stored through Prisma. The README also documents webcam support, security controls and analytics. Some connections are based on documented capabilities or indexed imports rather than complete source excerpts, so uncertain wiring is omitted.
Main entry points: AppRoutes.jsx Client routing · server.js Express server · InterviewRoom.jsx Interview room · interviewHistoryService.js Interview history API
Components 24
React client
- Client routing
Phase1/src/routes/AppRoutes.jsx - Sign-in and profile
Phase1/src/services/authService.js - Dashboard
Phase1/src/pages/Dashboard.jsx - Interview setup
Phase1/src/pages/InterviewSetup.jsx - Interview room
Phase1/src/pages/InterviewRoom.jsx - Speech input
Phase1/src/hooks/useSpeech.js - Code editor
Phase1/src/components/codeEditor.jsx - Results
Phase1/src/pages/Results.jsx - Analytics
Phase1/src/pages/Analytics.jsx - Interview history API
Phase1/src/services/interviewHistoryService.js - Authentication API
Phase1/src/services/authService.js - HTTP client
Phase1/src/services/axiosConfig.js
API and interviews
- Express server
Phase2/server.js - Authentication
Phase2/controllers/authController.js - JWT middleware
Phase2/middleware/authMiddleware.js - Interview records
Phase2/controllers/interviewController.js - AI interviewer
Phase2/controllers/interviewerController.js - Evaluation
Phase2/controllers/evaluationController.js - Code execution API
Phase2/controllers/judge0Controller.js
Persistence
- Prisma client
Phase2/utils/db.js - SQLite database
External services
- Groq AI
- Judge0
Other components
- Candidate
Connections 31
- Candidate → Client routing: uses
Phase1/src/routes/AppRoutes.jsx - Client routing → Sign-in and profile: routes to
Phase1/src/routes/AppRoutes.jsx - Client routing → Dashboard: routes to
Phase1/src/routes/AppRoutes.jsx - Client routing → Interview setup: routes to
Phase1/src/routes/AppRoutes.jsx - Client routing → Interview room: routes to
Phase1/src/routes/AppRoutes.jsx - Client routing → Results: routes to
Phase1/src/routes/AppRoutes.jsx - Client routing → Analytics: routes to
Phase1/src/routes/AppRoutes.jsx - Sign-in and profile → Authentication API: calls
Phase1/src/services/authService.js - Interview setup → Interview history API: starts interview
Phase1/src/pages/InterviewSetup.jsx - Interview room → Interview history API: saves results
Phase1/src/pages/InterviewRoom.jsx - Interview room → AI interviewer: interview chat
Phase1/src/pages/InterviewRoom.jsx - Interview room → Code editor: renders
Phase1/src/pages/InterviewRoom.jsx - Interview room → Speech input: uses speech
Phase1/src/pages/InterviewRoom.jsx - Interview room → Code execution API: runs code
Phase1/src/pages/InterviewRoom.jsx - Results → Interview history API: loads record
Phase1/src/pages/Results.jsx - Analytics → Interview history API: loads history
Phase1/src/pages/Analytics.jsx - Interview history API → HTTP client: sends requests
Phase1/src/services/interviewHistoryService.js - Authentication API → HTTP client: sends requests
Phase1/src/services/authService.js - HTTP client → Express server: API requests
README.md - Express server → Authentication: mounts auth routes
Phase2/server.js - Express server → JWT middleware: protects routes
Phase2/server.js - Express server → Interview records: mounts interview API
- Express server → AI interviewer: mounts AI routes
Phase2/server.js - Express server → Evaluation: mounts evaluation API
Phase2/server.js - Express server → Code execution API: mounts code API
Phase2/server.js - Authentication → Prisma client: reads and writes
Phase2/controllers/authController.js - Interview records → Prisma client: reads and writes
Phase2/controllers/interviewController.js - Prisma client → SQLite database: persists data
README.md - AI interviewer → Groq AI: requests completions
Phase2/controllers/interviewerController.js - Code execution API → Judge0: executes code
- Evaluation → Groq AI: AI evaluation
README.md