How muskanmehta-2006/mockinterviewx_frontend works
MockInterviewX is a React frontend for AI interview practice and human-mentor booking. Users enter through the landing page, authenticate, choose an interview mode, and use a practice or booking experience; the app also exposes results, feedback, and interviewer-management pages. The route map and several API calls are visible in the excerpts; the backend’s internal behavior and unsampled page interactions are not shown, so those connections are not inferred.
Main entry points: App.js Route application · api.js Backend API client · Login.jsx Login · Register.jsx Registration
Components 21
App and routing
- Route application
src/App.js - Landing page
src/pages/LandingPage.jsx
Identity
- Login
src/pages/Login.jsx - Registration
src/pages/Register.jsx - Firebase auth setup
src/firebase.js
AI practice
- Interview type
src/pages/InterviewType.jsx - Interview choice
src/pages/InterviewChoicePage.jsx - Coding interview
src/pages/Dsa.jsx - AI question panel
src/components/LeftAiInterview.jsx - Theory interview
src/pages/FundamentalsInterview.jsx - Backend API client
src/services/api.js
Human interviews
- Mentor booking
src/pages/HumanInterview.jsx - Razorpay checkout
Review and management
- Interview results
src/pages/Results.jsx - Coding feedback
src/pages/Feedback.jsx - Theory feedback
src/pages/FeedbackTheory.jsx - Interviewer dashboard
src/pages/InterviewerDashboard.jsx - Interviewer profile
src/pages/InterviewerProfile.jsx
Other components
- User
- Firebase Auth
- MockInterviewX backend
Connections 29
- User → Route application: opens
- Route application → Landing page: routes to
src/App.js - Route application → Login: routes to
src/App.js - Route application → Registration: routes to
src/App.js - Route application → Interview type: routes to
src/App.js - Route application → Interview choice: routes to
src/App.js - Route application → Coding interview: routes to
src/App.js - Route application → Theory interview: routes to
src/App.js - Route application → Mentor booking: routes to
src/App.js - Route application → Interview results: routes to
src/App.js - Route application → Coding feedback: routes to
src/App.js - Route application → Theory feedback: routes to
src/App.js - Route application → Interviewer dashboard: routes to
src/App.js - Route application → Interviewer profile: routes to
src/App.js - Login → Firebase auth setup: uses provider
src/pages/Login.jsx - Registration → Firebase auth setup: uses provider
src/pages/Register.jsx - Firebase auth setup → Firebase Auth: initializes
src/firebase.js - Login → Backend API client: sends auth requests
src/pages/Login.jsx - Registration → Backend API client: sends auth requests
src/pages/Register.jsx - Coding interview → AI question panel: renders
src/pages/Dsa.jsx - Coding interview → Backend API client: requests evaluation
src/pages/Dsa.jsx - AI question panel → Backend API client: fetches question
src/components/LeftAiInterview.jsx - Theory interview → Backend API client: requests data
src/pages/FundamentalsInterview.jsx - Mentor booking → Backend API client: fetches mentors
src/pages/HumanInterview.jsx - Mentor booking → Razorpay checkout: opens checkout
src/pages/HumanInterview.jsx - Interviewer dashboard → Backend API client: requests data
src/pages/InterviewerDashboard.jsx - Interviewer profile → Backend API client: updates profile
src/pages/InterviewerProfile.jsx - Theory feedback → Backend API client: requests data
src/pages/FeedbackTheory.jsx - Backend API client → MockInterviewX backend: sends HTTP requests
src/services/api.js