How adityasinghtech/career-guider works
PathFinder is a student career-guidance application. Students take an interest-and-strengths quiz, receive stream and career guidance, then explore related education and career resources; signed-in students can track progress, while admins have a separate dashboard. The graph also includes documented chatbot and AI-analysis capabilities. Several pages and integrations are represented by their exact tree paths, but their internal wiring is not inferred where source excerpts were unavailable.
Main entry points: App.tsx Routes and providers · Results.tsx Results page · client.ts Supabase client · Quiz.tsx Guidance quiz
Components 27
Application shell
- Routes and providers
src/App.tsx
Career guidance
- Guidance quiz
src/pages/Quiz.tsx - Quiz and career data
src/data/quizData.ts - Guidance engine
src/utils/guidanceEngine.ts - Results page
src/pages/Results.tsx - Result details
src/components/results - PDF report
src/components/analysis/CareerReportPDF.tsx
Exploration resources
- Stream recommender
src/pages/StreamRecommender.tsx - Career comparison
src/pages/CareerComparison.tsx - Comparison data
src/data/careerComparison.ts - Learning resources
src/pages/LearningResources.tsx - After-12th guidance
src/pages/AfterTwelfth.tsx - Practice quiz
src/pages/PracticeQuiz.tsx - Deep analysis
src/pages/DeepAnalysis.tsx
Accounts and progress
- Authentication page
src/pages/Auth.tsx - Auth and roles
src/hooks/useAuth.tsx - Student dashboard
src/components/dashboard/StudentDashboard.tsx - Admin dashboard
src/components/dashboard/AdminDashboard.tsx - Supabase client
src/integrations/supabase/client.ts
AI services
- Career chatbot UI
src/components/ChatBot.tsx - Career chat function
supabase/functions/career-chat/index.ts - Student insight function
supabase/functions/generate-student-insight/index.ts - Deep analysis functions
supabase/functions/deep-analysis - Practice quiz function
supabase/functions/practice-quiz-generate/index.ts
Other components
- Student
- Supabase
- OpenRouter API
Connections 25
- Student → Routes and providers: opens
- Routes and providers → Guidance quiz: routes
- Routes and providers → Results page: routes
- Routes and providers → Authentication page: routes
- Routes and providers → Student dashboard: routes
- Routes and providers → Admin dashboard: routes
- Routes and providers → Stream recommender: routes
- Routes and providers → Career comparison: routes
- Routes and providers → Learning resources: routes
- Routes and providers → After-12th guidance: routes
- Routes and providers → Practice quiz: routes
- Routes and providers → Deep analysis: routes
- Routes and providers → Career chatbot UI: renders
- Guidance quiz → Quiz and career data: uses questions
- Guidance quiz → Guidance engine: gets guidance
- Guidance engine → Results page: selects result route
- Results page → Result details: renders details
- Results page → PDF report: offers report
- Career comparison → Comparison data: reads data
- Authentication page → Auth and roles: signs in or up
- Auth and roles → Supabase client: queries auth and roles
- Supabase client → Supabase: connects
- Student dashboard → Supabase client: reads and updates
- Admin dashboard → Supabase client: admin data access
- Career chat function → OpenRouter API: requests completions