How sarthakkk1105/github-actions.project works
InterviewIQ.AI is a resume-personalized interview preparation platform. Users sign in, upload a resume, configure an interview, answer generated questions, and can review reports and interview history; paid plans provide additional credits. The client is organized around routed pages and interview-flow components, while Express routes dispatch to controllers that coordinate AI services, authentication, payments, and persistence. README documentation describes capabilities beyond the sampled excerpts; those branches are included where documented, with evidence limits reflected in the graph.
Main entry points: app.js Express API · App.jsx App routing · interview.controller.js Interview workflows · user.model.js User records
Components 25
Client experience
- App routing
client/src/App.jsx - Sign-in page
client/src/pages/Auth.jsx - Resume setup
client/src/components/Step1setup.jsx - Interview flow
client/src/pages/InterviewPage.jsx - Live interview
client/src/components/Step2interview.jsx - Interview report UI
client/src/components/Step3repot.jsx - Report page
client/src/pages/InterviewReport.jsx - Interview history
client/src/pages/Interviewhistory.jsx - Pricing page
client/src/pages/Pricing.jsx - User state
client/src/redux/userSlice.js
API and workflows
- Express API
server/app.js - Authentication
server/controller/auth.controller.js - Interview workflows
server/controller/interview.controller.js - Resume PDF parsing
server/controller/interview.controller.js - Payment and credits
server/controller/payment.controller.js - User profile
server/controller/user.controller.js - JWT guard
server/middleware/isAuth.js
Persistence
- User records
server/models/user.model.js - Interview records
server/models/interview.model.js - Payment records
server/models/payment.model.js
External services
- Firebase auth
client/src/utils/firebase.js - AI service
server/services/openrouter.services.js - Razorpay
server/services/Razorpay.service.js - MongoDB
Other components
- Candidate
Connections 37
- Candidate → App routing: uses
README.md - App routing → Sign-in page: routes to
client/src/App.jsx - App routing → Interview flow: routes to
client/src/App.jsx - App routing → Interview history: routes to
client/src/App.jsx - App routing → Pricing page: routes to
client/src/App.jsx - App routing → Report page: routes to
client/src/App.jsx - App routing → User state: updates
client/src/App.jsx - Sign-in page → Firebase auth: signs in with
client/src/pages/Auth.jsx - Sign-in page → Express API: posts sign-in
client/src/pages/Auth.jsx - Sign-in page → User state: updates
client/src/pages/Auth.jsx - Interview flow → Resume setup: renders
client/src/pages/InterviewPage.jsx - Interview flow → Live interview: renders
client/src/pages/InterviewPage.jsx - Interview flow → Interview report UI: renders
client/src/pages/InterviewPage.jsx - Candidate → Resume setup: uploads resume
README.md - Resume setup → Express API: submits resume
README.md - Express API → Interview workflows: dispatches interview
server/app.js - Express API → Authentication: dispatches auth
server/app.js - Express API → Payment and credits: dispatches payment
server/app.js - Express API → User profile: dispatches profile
server/app.js - Interview workflows → Resume PDF parsing: parses resume
server/controller/interview.controller.js - Interview workflows → AI service: requests generation
server/controller/interview.controller.js - Interview workflows → User records: reads and updates
server/controller/interview.controller.js - Interview workflows → Interview records: creates and updates
server/controller/interview.controller.js - Live interview → Express API: sends interview answers
README.md - Interview report UI → Report page: displays results
client/src/pages/InterviewReport.jsx - Interview history → Express API: requests history
README.md - Pricing page → Express API: purchases credits
README.md - Payment and credits → Razorpay: creates orders
server/controller/payment.controller.js - Payment and credits → Payment records: records payment
server/controller/payment.controller.js - Payment and credits → User records: adds credits
server/controller/payment.controller.js - User profile → JWT guard: uses guard
server/controller/user.controller.js - User profile → User records: loads profile
server/controller/user.controller.js - Authentication → User records: finds or creates
server/controller/auth.controller.js - JWT guard → Express API: checks requests
- User records → MongoDB: persists in
- Interview records → MongoDB: persists in
- Payment records → MongoDB: persists in