How vippansingh27/interviewiq works
InterviewIQ is a web platform for AI-assisted interview practice. Candidates sign in, configure an interview and optionally provide a resume, answer timed questions, and review feedback and reports; they can also revisit interview history or purchase credits. The graph separates the browser experience, API workflows, persistence, and integrations. The README documents major capabilities; sampled source confirms several routes and backend calls, but not every client-to-API request, so those links are documented at a high level.
Main entry points: App.jsx Route and session shell · interview.controller.js Interview processing · Auth.jsx Sign-in view · payment.controller.js Payment processing
Components 25
Web experience
- Route and session shell
client/src/App.jsx - Sign-in view
client/src/pages/Auth.jsx - Interview setup
client/src/components/Step1SetUp.jsx - Live interview
client/src/components/Step2Interview.jsx - Response timer
client/src/components/Timer.jsx - Feedback and report
client/src/components/Step3Report.jsx - Interview history
client/src/pages/InterviewHistory.jsx - Plans and credits
client/src/pages/Pricing.jsx - User session state
client/src/redux/userSlice.js
API workflows
- Authentication routes
server/routes/auth.route.js - Account authentication
server/controllers/auth.controller.js - User routes
server/routes/user.route.js - Current user lookup
server/controllers/user.controller.js - Interview routes
server/routes/interview.route.js - Interview processing
server/controllers/interview.controller.js - Payment routes
server/routes/payment.route.js - Payment processing
server/controllers/payment.controller.js - JWT access guard
server/middlewares/isAuth.js
Account and interview data
- User records and credits
server/models/user.model.js - Interview records
server/models/interview.model.js - Payment records
server/models/payment.model.js
External services
- Firebase authentication
client/src/utils/firebase.js - OpenRouter language model
server/services/openRouter.service.js - Razorpay payments
server/services/razorpay.service.js
Other components
- Candidate
Connections 32
- Candidate → Route and session shell: uses
README.md - Route and session shell → Sign-in view: routes to
client/src/App.jsx - Route and session shell → Interview setup: routes to
client/src/App.jsx - Route and session shell → Interview history: routes to
client/src/App.jsx - Route and session shell → Plans and credits: routes to
client/src/App.jsx - Route and session shell → Feedback and report: routes to
client/src/App.jsx - Route and session shell → User session state: loads session
client/src/App.jsx - Sign-in view → Firebase authentication: authenticates with
client/src/pages/Auth.jsx - Sign-in view → Authentication routes: posts sign-in
README.md - Sign-in view → User session state: updates
client/src/pages/Auth.jsx - Interview setup → Live interview: starts practice
client/src/pages/InterviewPage.jsx - Live interview → Response timer: uses
client/src/components/Step2Interview.jsx - Live interview → Interview routes: submits answers
README.md - Interview routes → JWT access guard: guards requests
server/routes/interview.route.js - Interview routes → Interview processing: dispatches to
server/routes/interview.route.js - Interview processing → OpenRouter language model: requests AI output
server/controllers/interview.controller.js - Interview processing → User records and credits: reads and updates
server/controllers/interview.controller.js - Interview processing → Interview records: stores interview
server/controllers/interview.controller.js - Interview processing → Feedback and report: returns report data
README.md - Interview history → Interview routes: loads past sessions
README.md - Plans and credits → Payment routes: starts purchase
README.md - Payment routes → JWT access guard: guards requests
server/routes/payment.route.js - Payment routes → Payment processing: dispatches to
server/routes/payment.route.js - Payment processing → Razorpay payments: creates order
server/controllers/payment.controller.js - Payment processing → Payment records: records payment
server/controllers/payment.controller.js - Payment processing → User records and credits: adds credits
server/controllers/payment.controller.js - Authentication routes → Account authentication: dispatches to
server/routes/auth.route.js - Account authentication → User records and credits: finds or creates
server/controllers/auth.controller.js - User routes → JWT access guard: guards requests
server/routes/user.route.js - User routes → Current user lookup: dispatches to
server/routes/user.route.js - Current user lookup → User records and credits: reads account
server/controllers/user.controller.js - Route and session shell → User routes: checks current user
README.md