How parvsurana26/career-compass-ai works
Career Compass AI is a React career-guidance web app. Users discover the product on the landing page, sign up or log in, and enter a dashboard that links to profile building, career matches, courses, AI assistance, achievements, and job tracking. Authentication uses Firebase Auth; the repository configures Firestore and Storage, but the sampled code does not establish product data flows through them. Page and layout relationships are based on excerpts or SOURCE INDEX references; unsampled feature internals and data connections are intentionally not inferred.
Main entry points: App.tsx Application router · DashboardLayout.tsx Dashboard navigation · AuthContext.tsx Authentication context · Dashboard.tsx Dashboard overview
Components 18
Product discovery
- Landing sections
src/components/landing - Landing page
src/pages/Index.tsx
Identity and routing
- Application router
src/App.tsx - Login
src/pages/Login.tsx - Signup
src/pages/Signup.tsx - Authentication context
src/contexts/AuthContext.tsx - Firebase services
src/lib/firebase.ts
Career workspace
- Dashboard overview
src/pages/Dashboard.tsx - Dashboard navigation
src/components/DashboardLayout.tsx - Profile builder
src/pages/ProfileBuilder.tsx - Career matches
src/pages/CareerMatches.tsx - Course suggestions
src/pages/Courses.tsx - AI assistant
src/pages/AIAssistant.tsx - Achievements
src/pages/Achievements.tsx - Job tracker
src/pages/JobTracker.tsx
Shared interface
- UI primitives
src/components/ui - Toast state hook
src/hooks/use-toast.ts
Other components
- Visitor or user
Connections 27
- Visitor or user → Application router: opens
src/App.tsx - Application router → Landing page: routes to
src/App.tsx - Application router → Login: routes to
src/App.tsx - Application router → Signup: routes to
src/App.tsx - Application router → Dashboard overview: routes to
src/App.tsx - Application router → Profile builder: routes to
src/App.tsx - Application router → Career matches: routes to
src/App.tsx - Application router → Course suggestions: routes to
src/App.tsx - Application router → AI assistant: routes to
src/App.tsx - Application router → Achievements: routes to
src/App.tsx - Application router → Job tracker: routes to
src/App.tsx - Application router → Authentication context: provides
src/App.tsx - Landing page → Landing sections: renders
src/pages/Index.tsx - Login → Authentication context: uses auth
src/pages/Login.tsx - Signup → Authentication context: uses auth
src/pages/Signup.tsx - Authentication context → Firebase services: calls Auth
src/contexts/AuthContext.tsx - Dashboard overview → Authentication context: checks session
src/pages/Dashboard.tsx - Dashboard overview → Dashboard navigation: renders
src/pages/Dashboard.tsx - Profile builder → Dashboard navigation: renders
src/pages/ProfileBuilder.tsx - Career matches → Dashboard navigation: renders
src/pages/CareerMatches.tsx - Course suggestions → Dashboard navigation: renders
src/pages/Courses.tsx - AI assistant → Dashboard navigation: renders
src/pages/AIAssistant.tsx - Achievements → Dashboard navigation: renders
src/pages/Achievements.tsx - Job tracker → Dashboard navigation: renders
src/pages/JobTracker.tsx - Dashboard navigation → Authentication context: uses session
src/components/DashboardLayout.tsx - Dashboard navigation → Toast state hook: uses notifications
src/components/DashboardLayout.tsx - Toast state hook → UI primitives: uses toast types
src/hooks/use-toast.ts