How manish-acharyya/interviewiq works
InterviewIQ.AI lets candidates configure a mock interview, answer AI-generated questions, and review scored feedback and interview history. The React client provides account access, interview setup and practice, reports, and credit-plan purchases; Express controllers handle authentication, interview evaluation, and payments against MongoDB and external AI/payment services. Resume analysis, speech interaction, and OAuth are documented capabilities, but their full implementation is not shown in the excerpts. Edges reflect shown imports, calls, or documented capabilities; unsampled details are left unconnected.
Main entry points: App.jsx Application routes · interviewservice.js Interview API client · interviewcontroller.js Interview workflows · paymentcontroller.js Payment workflows
Components 27
Candidate experience
- Application routes
client/src/App.jsx - Account access
client/src/pages/Login.jsx - Auth context
client/src/context/AuthContext.jsx - Interview setup
client/src/components/Step1Setup.jsx - Interview session
client/src/components/Step2Interview.jsx - Report presentation
client/src/components/Step3Report.jsx - Interview history
client/src/pages/InterviewHistory.jsx - Credit plans
client/src/pages/Pricing.jsx - Auth API client
client/src/services/authservice.js - Interview API client
client/src/services/interviewservice.js - Payment API client
client/src/services/paymentservice.js
API and domain workflows
- Auth routes
server/routes/authRoute.js - Account workflows
server/controller/authcontroller.js - JWT guard
server/middlewares/isAuth.js - Interview routes
server/routes/interviewroute.js - Interview workflows
server/controller/interviewcontroller.js - Payment routes
server/routes/paymentRoute.js - Payment workflows
server/controller/paymentcontroller.js
Persistent data
- User records
server/model/usermodel.js - Interview records
server/model/interviewmodel.js - Payment records
server/model/paymentmodel.js
External services
- AI completion service
server/services/openRouterService.js - Razorpay client
server/services/razorpayService.js - Email transport
server/config/email.js
Other components
- Candidate
- OpenRouter AI
- Razorpay
Connections 35
- Candidate → Application routes: uses
- Application routes → Account access: routes to
client/src/App.jsx - Application routes → Interview setup: routes to
client/src/App.jsx - Application routes → Interview history: routes to
client/src/App.jsx - Application routes → Credit plans: routes to
client/src/App.jsx - Application routes → Report presentation: routes to
client/src/App.jsx - Account access → Auth context: updates
client/src/pages/Login.jsx - Auth context → Auth API client: calls
client/src/context/AuthContext.jsx - Account access → Auth API client: calls
client/src/pages/Login.jsx - Interview setup → Interview API client: calls
client/src/components/Step1Setup.jsx - Interview session → Interview API client: calls
client/src/components/Step2Interview.jsx - Interview history → Interview API client: fetches
client/src/pages/InterviewHistory.jsx - Report presentation → Interview API client: fetches
client/src/pages/InterviewReport.jsx - Credit plans → Payment API client: calls
client/src/pages/Pricing.jsx - Auth API client → Auth routes: HTTP requests
client/src/services/authservice.js - Interview API client → Interview routes: HTTP requests
client/src/services/interviewservice.js - Payment API client → Payment routes: HTTP requests
client/src/services/paymentservice.js - Auth routes → Account workflows: dispatches
server/routes/authRoute.js - Auth routes → JWT guard: guards current user
server/routes/authRoute.js - Interview routes → Interview workflows: dispatches
server/routes/interviewroute.js - Interview routes → JWT guard: guards requests
server/routes/interviewroute.js - Payment routes → Payment workflows: dispatches
server/routes/paymentRoute.js - Payment routes → JWT guard: guards requests
server/routes/paymentRoute.js - Account workflows → User records: reads and writes
server/controller/authcontroller.js - Account workflows → Email transport: sends mail
server/controller/authcontroller.js - Interview workflows → User records: reads and updates
server/controller/interviewcontroller.js - Interview workflows → Interview records: creates and updates
server/controller/interviewcontroller.js - Interview workflows → AI completion service: requests evaluation
server/controller/interviewcontroller.js - AI completion service → OpenRouter AI: sends prompts
server/services/openRouterService.js - Payment workflows → Payment records: creates and updates
server/controller/paymentcontroller.js - Payment workflows → User records: credits user
server/controller/paymentcontroller.js - Payment workflows → Razorpay client: creates orders
server/controller/paymentcontroller.js - Razorpay client → Razorpay: integrates
- Candidate → Interview session: practices by voice
- Candidate → Account access: may use OAuth