How mr-ahad-khan/careerpath works
CareerPath is a web and mobile career-planning product: users enter skills and constraints, generate and compare five-year paths, then track milestones, learning, and mentor connections. The web app also supports resume analysis and admin analytics. Its client can simulate and persist data offline, while the Express API provides authenticated cloud-backed features. The map combines sampled source relationships with capabilities documented in the README; unsampled UI and offline details are represented at their existing directory paths.
Main entry points: server.js Express API · App.jsx App routing · api.js API and fallback client · models Domain models
Components 32
Web and Mobile Client
- App routing
frontend/src/App.jsx - Client authentication
frontend/src/lib/auth.jsx - API and fallback client
frontend/src/lib/api.js - Native mobile shell
careerpath-mobile
Career Planning
- Skill intake
frontend/src/pages/WizardPage.jsx - Simulation and comparison
frontend/src/pages/SimulationPage.jsx - Career dashboard
frontend/src/pages/DashboardPage.jsx - Trajectory engine
backend/engine/simulation.js - Career and market data
backend/engine/data.js - Offline simulation
frontend/src/lib/offline/simulation.js - Resume reality-check
frontend/src/pages/ResumeCheckPage.jsx - Resume parsing
frontend/src/lib/resumeReader.js - Resume matching
backend/engine/resume.js
Growth and Community
- Milestone roadmap
frontend/src/pages/MilestonesPage.jsx - Mentor directory
frontend/src/pages/MentorsPage.jsx - Learning journal API
backend/routes/journal.js - Mentor connections and chat
backend/routes/connections.js - Admin analytics
frontend/src/pages/AdminPage.jsx
API and Services
- Express API
backend/server.js - Account routes
backend/routes/auth.js - JWT authorization
backend/middleware/auth.js - Simulation routes
backend/routes/simulations.js - Resume routes
backend/routes/resume.js - Mentor routes
backend/routes/mentors.js - Milestone routes
backend/routes/milestones.js - Profile routes
backend/routes/profiles.js - Admin routes
backend/routes/admin.js
Persistence
- Offline data
frontend/src/lib/offline/offlineData.js - Offline store
frontend/src/lib/offline/offlineStore.js - Domain models
backend/models - MongoDB connection
backend/db/mongodb.js
Other components
- CareerPath user
Connections 43
- CareerPath user → App routing: uses
frontend/src/App.jsx - App routing → Skill intake: routes to
frontend/src/App.jsx - App routing → Simulation and comparison: routes to
frontend/src/App.jsx - App routing → Career dashboard: routes to
frontend/src/App.jsx - App routing → Milestone roadmap: routes to
frontend/src/App.jsx - App routing → Mentor directory: routes to
frontend/src/App.jsx - App routing → Resume reality-check: routes to
frontend/src/App.jsx - App routing → Admin analytics: routes to
frontend/src/App.jsx - Skill intake → API and fallback client: submits profile
- Simulation and comparison → API and fallback client: requests paths
- API and fallback client → Express API: calls REST API
README.md - API and fallback client → Offline store: falls back to
frontend/src/lib/api.js - API and fallback client → Offline data: uses fallback data
frontend/src/lib/api.js - Offline store → Offline simulation: uses
frontend/src/lib/offline/offlineStore.js - Offline store → Offline data: reads data
frontend/src/lib/offline/offlineStore.js - Skill intake → Offline simulation: simulates offline
README.md - Trajectory engine → Career and market data: reads definitions
backend/engine/simulation.js - Express API → Simulation routes: mounts routes
backend/server.js - Simulation routes → Trajectory engine: generates paths
backend/routes/simulations.js - Express API → Account routes: mounts routes
backend/server.js - Express API → Profile routes: mounts routes
backend/server.js - Express API → Mentor routes: mounts routes
backend/server.js - Express API → Mentor connections and chat: mounts routes
backend/server.js - Express API → Milestone routes: mounts routes
backend/server.js - Express API → Learning journal API: mounts routes
backend/server.js - Express API → Resume routes: mounts routes
backend/server.js - Express API → Admin routes: mounts routes
backend/server.js - Express API → MongoDB connection: connects database
backend/server.js - Express API → Domain models: seeds records
backend/server.js - Client authentication → API and fallback client: authenticates through
frontend/src/lib/auth.jsx - Account routes → JWT authorization: signs tokens
backend/routes/auth.js - JWT authorization → Domain models: loads user
backend/middleware/auth.js - Simulation routes → Domain models: persists simulations
backend/routes/simulations.js - Resume routes → Resume matching: analyzes resume
backend/routes/resume.js - Resume reality-check → Resume parsing: parses upload
README.md - Resume reality-check → API and fallback client: checks resume
- Express API → Milestone routes: serves roadmap
backend/server.js - Milestone routes → Domain models: stores milestones
backend/routes/milestones.js - Learning journal API → Domain models: stores entries
backend/routes/journal.js - Mentor connections and chat → Domain models: stores requests
backend/routes/connections.js - Mentor directory → API and fallback client: browses mentors
- Admin analytics → API and fallback client: requests analytics
- Native mobile shell → App routing: hosts client
README.md