How farhanpijwala/ai-career-navigator works
NexLeaf is an AI career-navigation web app. Users create an account and career profile, then explore career options, assess skills, analyze a resume, and use recommendations and a learning roadmap to track preparation. The React app routes to feature pages and uses a shared context and API client; Express routes coordinate persistence and Gemini-powered analysis. The graph preserves documented product capabilities, but several feature-page implementations and most route details were not sampled, so only documented or indexed relationships are shown.
Main entry points: App.tsx App router · routes.ts API routes · AppContext.tsx App state · ResumeAnalyzerPage.tsx Resume analysis
Components 24
Web application
- App router
src/App.tsx - App state
src/context/AppContext.tsx - API client
src/services/api.ts
Career tools
- Accounts and onboarding
src/pages/auth - Career profile
src/pages/app/ProfilePage.tsx - Career exploration
src/pages/app/CareerDetailPage.tsx - Career assessment
src/pages/app/CareerAssessmentPage.tsx - Career recommendations
src/pages/app/CareerMatchesPage.tsx - Resume analysis
src/pages/app/ResumeAnalyzerPage.tsx - PDF text extraction
src/utils/pdfParser.ts - Skill gap analysis
src/pages/app/SkillGapPage.tsx - Learning roadmap
src/pages/app/RoadmapPage.tsx - AI career coach
src/pages/app/AiCoachPage.tsx - Courses and projects
src/pages/app/CoursesPage.tsx - Learning progress
src/pages/app/ProgressPage.tsx - Career dashboard
src/pages/app/DashboardPage.tsx
API and AI
- HTTP server
server.ts - API routes
server/routes.ts - AI analysis
server/gemini.ts
Persistence
- Data access
server/db.ts - MySQL connection
server/mysql.ts
Other components
- Career seeker
- MySQL database
- Google Gemini
Connections 29
- Career seeker → App router: uses
README.md - App router → App state: provides state
src/App.tsx - App router → Accounts and onboarding: routes to
src/App.tsx - App router → Career profile: routes to
src/App.tsx - App router → Resume analysis: routes to
src/App.tsx - App router → Career assessment: routes to
src/App.tsx - App router → Career exploration: routes to
src/App.tsx - App router → Career recommendations: routes to
src/App.tsx - App router → AI career coach: routes to
src/App.tsx - App router → Career dashboard: routes to
src/App.tsx - App state → API client: requests data
src/context/AppContext.tsx - Resume analysis → PDF text extraction: extracts text
src/pages/app/ResumeAnalyzerPage.tsx - HTTP server → API routes: mounts API
server.ts - API client → API routes: sends API requests
- API routes → Data access: reads and writes
server/routes.ts - API routes → AI analysis: requests analysis
server/routes.ts - Data access → MySQL connection: queries
server/db.ts - MySQL connection → MySQL database: connects to
README.md - AI analysis → Google Gemini: uses API
- API routes → Accounts and onboarding: supports accounts
- API routes → Career profile: serves profile
- API routes → Resume analysis: analyzes resumes
server/routes.ts - API routes → Skill gap analysis: generates gaps
server/routes.ts - API routes → AI career coach: gets guidance
server/routes.ts - API routes → Learning roadmap: supports roadmap
- App state → Learning roadmap: updates tasks
src/context/AppContext.tsx - App state → Learning progress: refreshes progress
src/context/AppContext.tsx - App state → Career recommendations: loads matches
src/context/AppContext.tsx - App state → Career dashboard: loads app data
src/pages/app/DashboardPage.tsx