How rocket-cloud234/career-ai-copilot works
CareerAI is a web-based career and learning copilot. A user supplies profile details and career questions through the main interface; the app can generate career options and personalized roadmaps, then support topic-based teaching and roadmap-scoped mock interviews. Resume analysis is a separate capability. The sampled code confirms the main page orchestrates several API requests and that the interview endpoint reads roadmap data. Other UI wiring and the contents of the JSON data files were not sampled, so uncertain connections are omitted.
Main entry points: page.js App orchestrator · Main.jsx Career workspace · mock-interview/route.js Mock interviewer · preprocess-career-path/route.js Career options prep
Components 17
User interface
- App orchestrator
app/page.js - Career workspace
app/components/Main.jsx - Profile editor
app/components/AboutYou.jsx - Profile view
app/components/ProfilePopup.jsx - Roadmap progress
app/components/RoadmapSidebar.jsx - Roadmap viewer
app/components/RoadmapPopup.jsx - Skill gap view
app/components/SkillGapPopup.jsx
Career planning
- Career guidance
app/api/career-path/route.js - Career options prep
app/api/preprocess-career-path/route.js - Roadmap generator
app/api/roadmap-builder/route.js - Resume analysis
app/api/analyze-resume/route.js
Learning support
- Topic tutor
app/api/chat/route.js - Mock interviewer
app/api/mock-interview/route.js
Application data
- Profile database
data/database.json - Roadmap store
data/roadmaps.json
Other components
- User
- Gemini AI
Connections 21
- User → Career workspace: uses
- Career workspace → App orchestrator: sends actions
- App orchestrator → Career guidance: requests guidance
- App orchestrator → Career options prep: requests options
- Career workspace → Career options prep: prepares options
- App orchestrator → Roadmap generator: requests roadmap
- App orchestrator → Topic tutor: sends lesson query
- App orchestrator → Mock interviewer: starts interview
- App orchestrator → Resume analysis: submits resume
- App orchestrator → Profile editor: opens editor
- App orchestrator → Profile view: shows profile
- App orchestrator → Roadmap viewer: shows roadmap
- App orchestrator → Skill gap view: shows skill gaps
- App orchestrator → Roadmap progress: shows progress
- Career guidance → Gemini AI: generates guidance
- Career options prep → Gemini AI: generates options
- Roadmap generator → Gemini AI: generates roadmap
- Topic tutor → Gemini AI: generates lesson
- Mock interviewer → Gemini AI: generates questions
- Resume analysis → Gemini AI: analyzes resume
- Mock interviewer → Roadmap store: reads roadmap