How royprem19/careerpath-ai works
CareerPath AI connects a candidate’s resume and skills to industry roles, quantified fit and gaps, career alternatives, and a learning roadmap; it also supports authentication, PDF reports, and institution-level analytics. The frontend guides users through upload, profile review, role selection, and results, calling a FastAPI backend. Supabase persistence is optional in several flows, with role fallbacks and local authentication state. The institution analytics implementation and several UI pages were not sampled, so their internal connections are omitted.
Main entry points: main.py FastAPI server · App.jsx App router · resume.py Resume endpoints · api.js API client
Components 29
Candidate experience
- App router
frontend/src/App.jsx - Resume upload
frontend/src/pages/UploadPage.jsx - Profile review
frontend/src/pages/ProfileReview.jsx - Role selection
frontend/src/pages/RoleSelection.jsx - Career dashboard
frontend/src/pages/Dashboard.jsx - Institution dashboard
frontend/src/pages/InstitutionDashboard.jsx - API client
frontend/src/services/api.js
Career API
- FastAPI server
backend/main.py - Resume endpoints
backend/routers/resume.py - Role catalog
backend/routers/roles.py - Gap endpoint
backend/routers/analysis.py - Recommendation endpoint
backend/routers/recommendations.py - Roadmap endpoint
backend/routers/roadmap.py - PDF report endpoint
backend/routers/report.py - Institution analytics
backend/routers/institution.py
Career intelligence
- Resume parser
backend/services/resume_parser.py - Skill extraction
backend/services/skill_extractor.py - Skill normalization
backend/services/skill_normalizer.py - Gap analysis
backend/services/gap_analyzer.py - Role recommender
backend/services/recommender.py - ML and market signals
backend/services/ml_engine.py - Roadmap generator
backend/services/roadmap_generator.py - Report generator
backend/services/report_generator.py
Identity and data
- Authentication endpoints
backend/routers/auth.py - Authentication service
backend/services/auth_service.py - Supabase client
backend/database.py
Other components
- Candidate
- Institution user
- Supabase database
Connections 32
- Candidate → App router: uses
frontend/src/App.jsx - App router → Resume upload: routes to
frontend/src/App.jsx - App router → Profile review: routes to
frontend/src/App.jsx - App router → Role selection: routes to
frontend/src/App.jsx - App router → Career dashboard: routes to
frontend/src/App.jsx - Resume upload → API client: calls
frontend/src/pages/UploadPage.jsx - Role selection → API client: calls
frontend/src/pages/RoleSelection.jsx - Career dashboard → API client: calls
frontend/src/pages/Dashboard.jsx - API client → FastAPI server: HTTP requests
frontend/src/services/api.js - FastAPI server → Authentication endpoints: registers
backend/main.py - FastAPI server → Resume endpoints: registers
backend/main.py - FastAPI server → Role catalog: registers
backend/main.py - FastAPI server → Gap endpoint: registers
backend/main.py - FastAPI server → Recommendation endpoint: registers
backend/main.py - FastAPI server → Roadmap endpoint: registers
backend/main.py - FastAPI server → PDF report endpoint: registers
backend/main.py - Resume endpoints → Authentication service: validates user
backend/routers/resume.py - Resume endpoints → Resume parser: parses text
backend/routers/resume.py - Resume endpoints → Skill extraction: extracts profile
backend/routers/resume.py - Resume endpoints → Skill normalization: normalizes skills
backend/routers/resume.py - Gap endpoint → Gap analysis: calculates gaps
backend/routers/analysis.py - Recommendation endpoint → Role recommender: ranks roles
backend/routers/recommendations.py - Role recommender → Gap analysis: uses gap analysis
backend/services/recommender.py - Role recommender → ML and market signals: uses ML
backend/services/recommender.py - Roadmap endpoint → Roadmap generator: generates roadmap
backend/routers/roadmap.py - PDF report endpoint → Report generator: creates PDF
backend/routers/report.py - Authentication endpoints → Authentication service: handles identity
backend/routers/auth.py - Authentication service → Supabase client: persists profiles
backend/services/auth_service.py - Supabase client → Supabase database: connects
backend/database.py - Institution user → Institution dashboard: uses
- Institution dashboard → API client: requests analytics
- FastAPI server → Institution analytics: registers