How vaishnavi15-cell/ai_interview_simulator works
This is an AI interview simulator: users can authenticate, optionally provide a resume, generate tailored interview questions, answer by voice or text, and receive AI evaluation. The React app coordinates the experience and calls an Express backend; the backend handles authentication, resume analysis, question generation, answer evaluation, and video upload. Authentication records are stored in a JSON file. The excerpts establish several client-to-server calls and backend storage ownership; other backend integrations are shown only at a high level, so uncertain links are omitted or marked unverified.
Main entry points: App.jsx Interview experience · server.js Express routes and middleware · AuthModal.jsx Sign-in and signup · userStore.js User store
Components 14
Interview client
- Interview experience
frontend/src/App.jsx - Account navigation
frontend/src/components/Navbar.jsx - Sign-in and signup
frontend/src/components/AuthModal.jsx
Backend API
- Express routes and middleware
backend/server.js - Resume analysis
backend/server.js - Question generation
backend/server.js - Answer evaluation
backend/server.js - Video upload
backend/server.js
Identity and storage
- Authentication endpoints
backend/server.js - User store
backend/userStore.js - Users JSON file
backend/data/users.json
External integrations
- AI provider services
Other components
- Candidate
- Browser speech APIs
Connections 19
- Candidate → Interview experience: uses
frontend/src/App.jsx - Interview experience → Account navigation: renders
frontend/src/App.jsx - Interview experience → Sign-in and signup: renders
frontend/src/App.jsx - Candidate → Sign-in and signup: submits credentials
frontend/src/components/AuthModal.jsx - Sign-in and signup → Authentication endpoints: posts login or signup
frontend/src/components/AuthModal.jsx - Express routes and middleware → Authentication endpoints: registers
backend/server.js - Authentication endpoints → User store: creates or verifies users
backend/server.js - User store → Users JSON file: reads and writes
backend/userStore.js - Interview experience → Express routes and middleware: fetches current user
frontend/src/App.jsx - Interview experience → Question generation: requests questions
frontend/src/App.jsx - Interview experience → Resume analysis: requests analysis
frontend/src/App.jsx - Express routes and middleware → Resume analysis: registers endpoint
backend/server.js - Express routes and middleware → Question generation: registers endpoint
backend/server.js - Express routes and middleware → Answer evaluation: registers endpoint
backend/server.js - Express routes and middleware → Video upload: registers endpoint
backend/server.js - Interview experience → Browser speech APIs: uses recognition and speech
frontend/src/App.jsx - Resume analysis → AI provider services: generates analysis
- Question generation → AI provider services: generates questions
- Answer evaluation → AI provider services: evaluates answers