How goudatharun30/pathfolio works
Pathfolio combines a React career-development workspace with an Express API. Users discover career paths, authenticate, maintain a profile, generate and track a learning plan, complete recommended projects, and build resume and portfolio outputs; an AI assistant adds career guidance. The graph groups related pages and backend domains rather than listing every view or model. The README documents several capabilities whose detailed implementation was not sampled, so those subsystems are represented at their existing directory paths; their internal links are not asserted.
Main entry points: api.js API client · server.js Express API · learningController.js Plan generation and progress · projectController.js Project recommendations
Components 30
Career workspace
- React app and routes
client/src/App.jsx - Session context
client/src/context/AuthContext.jsx - Authentication client
client/src/services/authService.js - API client
client/src/services/api.js - Career dashboard
client/src/pages/Dashboard.jsx - Profile editor
client/src/pages/Profile.jsx
API and identity
- Express API
server/src/server.js - Authentication routes
server/src/routes/authRoutes.js - Authentication
server/src/controllers/authController.js - JWT authorization
server/src/middleware/authMiddleware.js - User profile store
server/src/models/Profile.js - MongoDB or memory store
server/src/config/database.js
Career planning
- Roadmap explorer
client/src/pages/Roadmaps.jsx - Roadmap catalog
client/src/data/roadmapsData.js - Learning planner
client/src/pages/LearningPlanner.jsx - Project recommendations
client/src/pages/Projects.jsx - Learning routes
server/src/routes/learningRoutes.js - Plan generation and progress
server/src/controllers/learningController.js - Schedule algorithm
server/src/services/plannerAlgorithm.js - Project recommendations
server/src/controllers/projectController.js - Learning path store
server/src/models/UserLearningPath.js - Project store
server/src/models/ProjectRecommendation.js
Career materials
- Resume builder
client/src/pages/Resume.jsx - Portfolio builder
client/src/pages/Portfolio.jsx
AI assistance
- Floating career assistant
client/src/components/FloatingAi.jsx - AI API routes
server/src/routes/aiRoutes.js - AI career service
server/src/controllers/aiController.js - Provider selection
server/src/services/ai/aiService.js - AI providers
server/src/services/ai
Other components
- Career seeker
Connections 30
- Career seeker → React app and routes: uses
- React app and routes → Session context: reads session
client/src/App.jsx - Session context → Authentication client: calls
client/src/context/AuthContext.jsx - Authentication client → API client: requests auth
client/src/services/authService.js - Career dashboard → API client: loads data
client/src/pages/Dashboard.jsx - Profile editor → API client: loads and saves
client/src/pages/Profile.jsx - Roadmap explorer → Roadmap catalog: uses catalog
- Learning planner → API client: requests plans
- Project recommendations → API client: requests projects
client/src/pages/Projects.jsx - Resume builder → API client: requests resume
- Portfolio builder → API client: requests portfolio
- Floating career assistant → API client: requests advice
client/src/components/FloatingAi.jsx - API client → Express API: HTTP requests
client/src/services/api.js - Express API → Authentication routes: mounts routes
server/src/server.js - Express API → Learning routes: mounts routes
server/src/server.js - Express API → AI API routes: mounts routes
server/src/server.js - Authentication routes → Authentication: dispatches
server/src/routes/authRoutes.js - Authentication → MongoDB or memory store: reads and writes
server/src/controllers/authController.js - Authentication → User profile store: creates profile
server/src/controllers/authController.js - Learning routes → JWT authorization: guards routes
server/src/routes/learningRoutes.js - Learning routes → Plan generation and progress: dispatches
server/src/routes/learningRoutes.js - Plan generation and progress → Schedule algorithm: generates schedule
server/src/controllers/learningController.js - Plan generation and progress → Learning path store: reads and writes
server/src/controllers/learningController.js - Plan generation and progress → MongoDB or memory store: checks store
server/src/controllers/learningController.js - Project recommendations → Project store: loads projects
server/src/controllers/projectController.js - Project recommendations → User profile store: syncs completion
server/src/controllers/projectController.js - Project recommendations → MongoDB or memory store: checks store
server/src/controllers/projectController.js - AI API routes → AI career service: dispatches
- AI career service → Provider selection: requests generation
- Provider selection → AI providers: selects provider
server/src/services/ai/aiService.js