How apiyush-12/careerlens-frontend works
CareerLens is a career-guidance web app: users authenticate, choose a target role, upload a resume, review skill gaps and readiness, then follow a phased learning roadmap. The tree contains the Next.js frontend and Supabase helpers, but not the README-described Flask backend. Its processing stages and frontend-to-backend connections are therefore documented capabilities, not verified source-level calls; those links are shown as unverified. The supplied excerpts verify the authentication flows and their Supabase client usage.
Main entry points: client.ts Browser Auth Client · skill-gap/page.tsx Skill Gap & Readiness · sign-up/page.tsx Sign Up · login/page.tsx Login & Recovery
Components 20
Account Access
- Sign Up
app/auth/sign-up/page.tsx - Login & Recovery
app/auth/login/page.tsx - Auth Callback
app/auth/callback/route.ts - Account Settings
app/dashboard/settings/page.tsx
Career Analysis
- Career Goal
app/dashboard/career-goal/page.tsx - Resume Upload
app/dashboard/upload/page.tsx - Resume Parsing
- Skill Gap & Readiness
app/dashboard/skill-gap/page.tsx - Skill Profile
app/dashboard/skills/page.tsx
Learning Outcomes
- Career Dashboard
app/dashboard/page.tsx - Resume Analysis
app/dashboard/resume-analysis/page.tsx - Roadmap API Route
app/api/roadmap/route.ts - Learning Roadmap
app/dashboard/learning-path/page.tsx - Analysis History
app/dashboard/history/page.tsx
Platform Services
- Browser Auth Client
lib/supabase/client.ts - Server Auth Client
lib/supabase/server.ts - Supabase Auth
- Admin Analytics
app/admin/page.tsx
Other components
- Career Seeker
- Flask Backend
Connections 23
- Career Seeker → Sign Up: creates account
README.md - Career Seeker → Login & Recovery: signs in
README.md - Sign Up → Browser Auth Client: creates client
app/auth/sign-up/page.tsx - Login & Recovery → Browser Auth Client: authenticates
app/auth/login/page.tsx - Browser Auth Client → Supabase Auth: uses auth
- Auth Callback → Server Auth Client: creates client
app/auth/callback/route.ts - Server Auth Client → Supabase Auth: uses auth
- Career Seeker → Career Goal: selects role
README.md - Career Seeker → Resume Upload: uploads resume
README.md - Resume Upload → Flask Backend: submits resume
- Flask Backend → Resume Parsing: extracts skills
- Resume Parsing → Skill Gap & Readiness: provides skills
- Career Goal → Flask Backend: provides target role
- Flask Backend → Skill Gap & Readiness: compares skills
- Skill Gap & Readiness → Career Dashboard: shows readiness
- Flask Backend → Skill Profile: manages skills
- Flask Backend → Resume Analysis: provides analysis
- Skill Gap & Readiness → Roadmap API Route: requests roadmap
- Roadmap API Route → Flask Backend: generates roadmap
- Flask Backend → Learning Roadmap: returns phases
- Career Dashboard → Analysis History: links history
- Account Settings → Browser Auth Client: updates account
app/dashboard/settings/page.tsx - Admin Analytics → Browser Auth Client: checks session
app/admin/page.tsx