How venkatasaieeshreddy005/rankup-ai works
RankUp AI is a mock-interview practice product. Users sign in, prepare an interview (including optional resume analysis), answer timed questions, and review feedback and reports; pricing and credit-backed interview generation are additional product capabilities. The graph includes the documented frontend routes and backend interview, account, and payment subsystems. Some client-to-API wiring and payment behavior are unsampled, so those links are omitted rather than inferred.
Main entry points: App.jsx Route shell · interview.js Interview workflow · Auth.jsx Google sign-in · index.js API server
Components 32
Web application
- Route shell
client/src/App.jsx - Google sign-in
client/src/pages/Auth.jsx - Sign-in modal
client/src/components/AuthModel.jsx - Home experience
client/src/pages/Home.jsx
Identity and accounts
- Firebase auth
client/src/utils/firebase.js - User state
client/src/redux/userSlice.js - API server
server/index.js - Auth routes
server/routes/authroute.js - Authentication
server/controllers/authcontroller.js - Session validation
server/middleware/isAuth.js - Current user
server/controllers/usercontroller.js - User records
server/models/user.js
Interview lifecycle
- Interview history
client/src/pages/interviewHistory.jsx - Interview workspace
client/src/pages/InterviewPage.jsx - Interview setup
client/src/components/Setup.jsx - Timed interview
client/src/components/Interview.jsx - Question timer
client/src/components/Timer.jsx - Report page
client/src/pages/interviewReport.jsx - Performance report
client/src/components/Report.jsx - Interview routes
server/routes/interview.js - Interview workflow
server/controllers/interview.js - Question prompts
server/services/interviewMessage.js - Evaluation prompts
server/services/evaluationPrompt.js - AI gateway
server/services/openRouterService.js - Interview records
server/models/interview.js
Credits and payments
- Pricing page
client/src/pages/Pricing.jsx - Payment routes
server/routes/payment.js - Payment workflow
server/controllers/payment.js - Razorpay service
server/services/razorpay.js - Payment records
server/models/payment.js
Other components
- User
- OpenRouter
Connections 38
- User → Route shell: uses
client/src/App.jsx - Route shell → Home experience: routes to
client/src/App.jsx - Route shell → Google sign-in: routes to
client/src/App.jsx - Route shell → Interview workspace: routes to
client/src/App.jsx - Route shell → Pricing page: routes to
client/src/App.jsx - Route shell → Interview history: routes to
client/src/App.jsx - Route shell → Report page: routes to
client/src/App.jsx - Route shell → User state: updates
client/src/App.jsx - Google sign-in → Firebase auth: authenticates with
client/src/pages/Auth.jsx - Google sign-in → Auth routes: posts sign-in
client/src/pages/Auth.jsx - Google sign-in → User state: updates
client/src/pages/Auth.jsx - Sign-in modal → Google sign-in: renders
client/src/components/AuthModel.jsx - Interview workspace → Interview setup: renders
client/src/pages/InterviewPage.jsx - Interview workspace → Timed interview: renders
client/src/pages/InterviewPage.jsx - Interview workspace → Performance report: renders
client/src/pages/InterviewPage.jsx - Timed interview → Question timer: uses
client/src/components/Interview.jsx - Report page → Performance report: renders
client/src/pages/interviewReport.jsx - API server → Auth routes: mounts
server/index.js - API server → Interview routes: mounts
server/index.js - API server → Payment routes: mounts
server/index.js - Auth routes → Authentication: dispatches to
server/routes/authroute.js - Authentication → User records: reads and writes
server/controllers/authcontroller.js - Authentication → User: gets token for
server/controllers/authcontroller.js - API server → Current user: mounts user API
server/index.js - Current user → User records: reads
server/controllers/usercontroller.js - Interview routes → Session validation: guards routes
server/routes/interview.js - Interview routes → Interview workflow: dispatches to
server/routes/interview.js - Interview workflow → Question prompts: builds prompts
server/controllers/interview.js - Interview workflow → Evaluation prompts: builds prompts
server/controllers/interview.js - Interview workflow → AI gateway: requests analysis
server/controllers/interview.js - AI gateway → OpenRouter: sends completions
server/services/openRouterService.js - Interview workflow → Interview records: reads and writes
server/controllers/interview.js - Interview workflow → User records: deducts credits
server/controllers/interview.js - Payment routes → Session validation: guards routes
server/routes/payment.js - Payment routes → Payment workflow: dispatches to
server/routes/payment.js - Payment workflow → Razorpay service: uses
server/controllers/payment.js - Payment workflow → Payment records: reads and writes
server/controllers/payment.js - Payment workflow → User records: updates credits
server/controllers/payment.js