How ritam771/careerpilot works
CareerPilot is a browser-based career-preparation app. Users enter through login or signup, then navigate to practice areas, company preparation, mock tests, profile tools, and resume analysis. Mock tests have the clearest end-to-end workflow: the test page starts or resumes attempts, the test screen saves answers and submits, and the result screen fetches and displays performance. Authentication and theme preferences use browser storage; mock-attempt operations use an HTTP API. The README is only a Vite template and documents no product capabilities; several page implementations were not sampled, so their internal links are omitted.
Main entry points: App.jsx Route App · auth.js Authentication · MockTests.jsx Mock Test Catalog · attemptService.js Attempt API Client
Components 24
App Entry
- Route App
src/App.jsx - Theme Provider
src/context/ThemeContext.jsx - Dashboard
src/pages/Dashboard.jsx
Preparation
- Aptitude Practice
src/pages/Aptitude.jsx - Reasoning Practice
src/pages/Reasoning.jsx - Technical Practice
src/pages/Technical.jsx - Coding Practice
src/pages/Coding.jsx - Company Prep
src/pages/Companyprep.jsx - Resume Analyzer
src/pages/AIResumeAnalyzer.jsx
Mock Testing
- Mock Test Catalog
src/pages/MockTests.jsx - Test Session
src/components/MockTestScreen.jsx - Performance Result
src/components/MockResultScreen.jsx
Account And Settings
Services
- Authentication
src/services/auth.js - Attempt API Client
src/services/attemptService.js - Browser Storage
- Attempt Backend
- DiceBear Service
Other components
- User
Connections 29
- User → Route App: opens app
src/App.jsx - Route App → Theme Provider: wraps routes
src/App.jsx - Route App → Login: routes to
src/App.jsx - Route App → Sign Up: routes to
src/App.jsx - Route App → Dashboard: routes to
src/App.jsx - Route App → Aptitude Practice: routes to
src/App.jsx - Route App → Reasoning Practice: routes to
src/App.jsx - Route App → Technical Practice: routes to
src/App.jsx - Route App → Coding Practice: routes to
src/App.jsx - Route App → Company Prep: routes to
src/App.jsx - Route App → Profile: routes to
src/App.jsx - Route App → Settings: routes to
src/App.jsx - Route App → Mock Test Catalog: routes to
src/App.jsx - Route App → Resume Analyzer: routes to
src/App.jsx - Route App → Admin Panel: routes to
src/App.jsx - Login → Authentication: authenticates with
src/pages/login.jsx - Sign Up → Authentication: registers with
src/pages/Signin.jsx - Authentication → Browser Storage: reads and writes
src/services/auth.js - Theme Provider → Browser Storage: persists theme
src/context/ThemeContext.jsx - Profile → Authentication: loads user
src/pages/Profile.jsx - Dashboard → Authentication: loads user
src/pages/Dashboard.jsx - Dashboard → Avatar: renders
src/pages/Dashboard.jsx - Avatar → DiceBear Service: loads image
src/components/Avatar.jsx - Mock Test Catalog → Attempt API Client: starts and checks
src/pages/MockTests.jsx - Mock Test Catalog → Test Session: renders session
src/pages/MockTests.jsx - Mock Test Catalog → Performance Result: renders result
src/pages/MockTests.jsx - Test Session → Attempt API Client: saves and submits
src/components/MockTestScreen.jsx - Performance Result → Attempt API Client: fetches result
src/components/MockResultScreen.jsx - Attempt API Client → Attempt Backend: sends HTTP requests
src/services/attemptService.js