How 23eg110d34-chinmai/ai-interview-preparation-assistance works
AI Interview Coach supports account access, resume and job-description analysis, adaptive mock interviews with voice/text responses and feedback, reports, preparation plans, and progress dashboards. The main flow runs from React pages through the API client to FastAPI routes, which invoke domain services and persist user and coaching records. The README documents demo-mode behavior and major capabilities; several route and page implementations were not sampled, so their connections are shown only where the API client, entry point, source index, or README supports them.
Main entry points: App.jsx Route shell · main.py API application · api.js API client · session.py Database session
Components 25
React application
- Route shell
frontend/src/App.jsx - Auth state
frontend/src/context/AuthContext.jsx - Progress dashboard
frontend/src/pages/DashboardPage.jsx - Resume analysis
frontend/src/pages/ResumePage.jsx - Job matching
frontend/src/pages/JobDescriptionPage.jsx - Mock interview
frontend/src/pages/MockInterviewPage.jsx - Voice recorder
frontend/src/components/VoiceRecorder.jsx - Answer feedback
frontend/src/components/FeedbackCard.jsx - Interview report
frontend/src/pages/InterviewReportPage.jsx - Preparation plan
frontend/src/pages/PreparationPlanPage.jsx - API client
frontend/src/services/api.js
API and domain services
- API application
backend/app/main.py - Authentication routes
backend/app/routes/auth.py - Resume routes
backend/app/routes/resume.py - Job description routes
backend/app/routes/job_description.py - Interview routes
backend/app/routes/interview.py - Preparation routes
backend/app/routes/preparation.py - Dashboard routes
backend/app/routes/dashboard.py - Auth service
backend/app/services/auth_service.py - Document parser
backend/app/services/parser_service.py - AI coaching engine
backend/app/services/ai_service.py
Persistence
- Database session
backend/app/database/session.py - Coaching records
backend/app/models
Other components
- Job seeker
- OpenAI service
Connections 41
- Job seeker → Route shell: uses
README.md - Route shell → Progress dashboard: routes to
frontend/src/App.jsx - Route shell → Resume analysis: routes to
frontend/src/App.jsx - Route shell → Job matching: routes to
frontend/src/App.jsx - Route shell → Mock interview: routes to
frontend/src/App.jsx - Route shell → Interview report: routes to
frontend/src/App.jsx - Route shell → Preparation plan: routes to
frontend/src/App.jsx - Auth state → API client: calls
frontend/src/context/AuthContext.jsx - Progress dashboard → API client: requests data
frontend/src/pages/DashboardPage.jsx - Resume analysis → API client: requests analysis
frontend/src/pages/ResumePage.jsx - Job matching → API client: requests matching
frontend/src/pages/JobDescriptionPage.jsx - Mock interview → API client: requests interview
frontend/src/pages/MockInterviewPage.jsx - Mock interview → Voice recorder: renders
frontend/src/pages/MockInterviewPage.jsx - Mock interview → Answer feedback: renders
frontend/src/pages/MockInterviewPage.jsx - Interview report → API client: requests report
frontend/src/pages/InterviewReportPage.jsx - Preparation plan → API client: requests plan
frontend/src/pages/PreparationPlanPage.jsx - API client → API application: sends API requests
frontend/src/services/api.js - API application → Authentication routes: registers router
backend/app/main.py - API application → Resume routes: registers router
backend/app/main.py - API application → Job description routes: registers router
backend/app/main.py - API application → Interview routes: registers router
backend/app/main.py - API application → Preparation routes: registers router
backend/app/main.py - API application → Dashboard routes: registers router
backend/app/main.py - Authentication routes → Auth service: uses
backend/app/routes/auth.py - Resume routes → Document parser: parses uploads
backend/app/routes/resume.py - Resume routes → AI coaching engine: analyzes resume
backend/app/routes/resume.py - Interview routes → AI coaching engine: evaluates and generates
backend/app/routes/interview.py - Preparation routes → AI coaching engine: generates plan
backend/app/routes/preparation.py - AI coaching engine → OpenAI service: calls when configured
backend/app/services/ai_service.py - Authentication routes → Database session: uses session
backend/app/routes/auth.py - Resume routes → Database session: uses session
backend/app/routes/resume.py - Interview routes → Database session: uses session
backend/app/routes/interview.py - Preparation routes → Database session: uses session
backend/app/routes/preparation.py - Dashboard routes → Database session: uses session
backend/app/routes/dashboard.py - Auth service → Database session: loads user
backend/app/services/auth_service.py - Database session → Coaching records: persists records
backend/app/database/session.py - Authentication routes → Coaching records: reads and writes
backend/app/routes/auth.py - Resume routes → Coaching records: reads and writes
backend/app/routes/resume.py - Interview routes → Coaching records: reads and writes
backend/app/routes/interview.py - Preparation routes → Coaching records: reads and writes
backend/app/routes/preparation.py - Dashboard routes → Coaching records: reads records
backend/app/routes/dashboard.py