How manoharreddy44/interviewprep-app works
InterviewPrep is a full-stack interview-practice product: users authenticate, choose a practice mode, receive AI-generated prompts and evaluations, and review progress and reports. The frontend routes dashboard modes and analytics; the Express API protects interview and account operations, with MongoDB-backed user/interview state and an AI service. README capabilities also include document processing and scheduled automation, though their implementation details were not sampled. Edges reflect shown routing/calls or README claims; unsampled capability links are omitted where ownership is unclear.
Main entry points: App.jsx App routes · server.js Express server · interview.routes.js Practice routes · interview.controller.js Interview workflows
Components 30
React experience
- App routes
frontend/src/App.jsx - Dashboard
frontend/src/pages/home/Home.jsx - Landing page
frontend/src/pages/landing/LandingPage.jsx
Authentication and accounts
- Signup form
frontend/src/pages/signup/SignUpForm.jsx - Signup hook
frontend/src/hooks/useSignup.js - Login page
frontend/src/pages/login/Login.jsx - Login hook
frontend/src/hooks/useLogin.js - Auth context
frontend/src/context/AuthContext.jsx - Auth controller
backend/controllers/auth.controller.js - Profile management
backend/controllers/user.controller.js
Interview practice
- Practice modes
frontend/src/components/sidebar/TechnicalRound.jsx - HR practice
frontend/src/components/sidebar/HrRound.jsx - Group discussion
frontend/src/components/sidebar/GroupDiscussions.jsx - Interview workflows
backend/controllers/interview.controller.js - AI generation
backend/openAi/connectToOpenAI.js
Reports and progress
- Feedback
frontend/src/components/sidebar/Feedback.jsx - Progress tracking
frontend/src/components/sidebar/Progress.jsx - Analytics
frontend/src/components/sidebar/Analytics.jsx - Report retrieval
backend/controllers/report.controller.js
API and persistence
- Auth routes
backend/routes/auth.routes.js - User accounts
backend/models/user.model.js - User routes
backend/routes/user.routes.js - Route protection
backend/middleware/protectRoute.js - Practice routes
backend/routes/interview.routes.js - Interview records
backend/models/interview.model.js - Report routes
backend/routes/report.routes.js - MongoDB connection
backend/db/connectToMongoDB.js - Express server
backend/server.js - Scheduled automation
backend/cron.js
Other components
- Candidate
Connections 43
- Candidate → Landing page: visits
- Candidate → Signup form: registers
- Candidate → Login page: signs in
- Candidate → App routes: opens
frontend/src/App.jsx - App routes → Auth context: checks session
frontend/src/App.jsx - App routes → Dashboard: routes to
frontend/src/App.jsx - App routes → Practice modes: routes to
frontend/src/App.jsx - App routes → HR practice: routes to
frontend/src/App.jsx - App routes → Group discussion: routes to
frontend/src/App.jsx - App routes → Feedback: routes to
frontend/src/App.jsx - App routes → Progress tracking: routes to
frontend/src/App.jsx - App routes → Analytics: routes to
frontend/src/App.jsx - Signup form → Signup hook: submits via
frontend/src/pages/signup/SignUpForm.jsx - Signup hook → Auth routes: posts signup
frontend/src/hooks/useSignup.js - Signup hook → Auth context: sets user
frontend/src/hooks/useSignup.js - Login page → Login hook: signs in via
frontend/src/pages/login/Login.jsx - Login hook → Auth context: updates user
frontend/src/hooks/useLogin.js - Auth routes → Auth controller: routes requests
backend/routes/auth.routes.js - Auth controller → User accounts: reads and writes
backend/controllers/auth.controller.js - Candidate → Practice modes: practices
- Practice modes → Practice routes: requests practice
- HR practice → Practice routes: requests practice
- Group discussion → Practice routes: requests practice
- Practice routes → Route protection: protects routes
backend/routes/interview.routes.js - Practice routes → Interview workflows: routes requests
backend/routes/interview.routes.js - Interview workflows → AI generation: generates prompts
backend/controllers/interview.controller.js - Interview workflows → Interview records: reads and saves
backend/controllers/interview.controller.js - Interview workflows → User accounts: reads resume
backend/controllers/interview.controller.js - Candidate → Feedback: reviews feedback
- Candidate → Progress tracking: tracks progress
- Candidate → Analytics: views analytics
- Report routes → Route protection: protects route
backend/routes/report.routes.js - Report routes → Report retrieval: routes request
backend/routes/report.routes.js - Report retrieval → Interview records: reads records
backend/controllers/report.controller.js - User routes → Route protection: protects routes
backend/routes/user.routes.js - User routes → Profile management: routes updates
backend/routes/user.routes.js - Profile management → User accounts: updates account
backend/controllers/user.controller.js - Express server → Auth routes: mounts routes
backend/server.js - Express server → User routes: mounts routes
backend/server.js - Express server → Practice routes: mounts routes
backend/server.js - Express server → Report routes: mounts routes
backend/server.js - Express server → MongoDB connection: connects database
backend/server.js - Express server → Scheduled automation: starts scheduler
backend/server.js