How kanugurajesh/career-guide works
Career Aid is a Next.js career-guidance platform: students choose a career, can request AI-generated guidance, and can evaluate their knowledge through a career-specific quiz. Separate features provide an AI chat and an image-generation workflow, with contact-email handling as another capability. The graph follows visible page-to-route calls and documented product intent; unsampled API implementations and integrations are shown only where supported or marked unverified.
Main entry points: RiveHero.tsx Rive Hero · Career/page.tsx Career Selection · Imagine/page.tsx Avatar Creator · [name]/page.tsx Career Guidance
Components 25
Career Guidance
- Career Selection
app/Career/page.tsx - Career Descriptions
data/career.d.ts - Career Guidance
app/Career/GetGuidance/[name]/page.tsx - Career Quiz
app/Courses/[name]/page.tsx - Quiz Content
data - Career Image API
app/api/imagen/route.ts
AI Experiences
- AI Council
app/Chat/page.tsx - Chat API
app/api/chat/route.ts
Image Generation
- Avatar Creator
app/Imagine/page.tsx - Upload Client
utils/uploadthing.ts - Upload Endpoint
app/api/uploadthing/route.ts - Upload Handler
app/api/uploadthing/core.ts - Image Generation API
app/api/generate/route.ts
Application Services
- Contact Form
app/Contact/page.tsx - Contact API
app/api/contact/route.ts - Email API
app/api/send/route.ts - Email Template
components/email-template.tsx - Interactive Landing
app/page.tsx - Rive Hero
components/RiveHero.tsx - Rive Button
components/RiveButton.tsx - Media Query Hook
utils/useMediaBreakpoint.ts - Reduced Motion Hook
utils/usePrefersReducedMotion.ts - Throttle Helper
utils/throttle.ts
Other components
- Student
- Resend Email
Connections 26
- Student → Career Selection: chooses career
README.md - Career Selection → Career Descriptions: loads description
app/Career/page.tsx - Career Selection → Career Guidance: opens guidance
app/Career/page.tsx - Career Selection → Career Quiz: opens evaluation
app/Career/page.tsx - Career Quiz → Quiz Content: loads questions
- Student → AI Council: asks questions
README.md - AI Council → Chat API: sends prompt
app/Chat/page.tsx - Student → Avatar Creator: creates avatar
app/Imagine/page.tsx - Avatar Creator → Upload Client: uploads picture
app/Imagine/page.tsx - Upload Client → Upload Endpoint: calls upload endpoint
utils/uploadthing.ts - Upload Endpoint → Upload Handler: routes handler
app/api/uploadthing/route.ts - Avatar Creator → Image Generation API: requests generation
app/Imagine/page.tsx - Avatar Creator → Email API: requests email
app/Imagine/page.tsx - Career Guidance → Chat API: requests career advice
app/Career/GetGuidance/[name]/page.tsx - Career Guidance → Career Image API: requests career image
app/Career/GetGuidance/[name]/page.tsx - Student → Contact Form: sends message
README.md - Contact Form → Contact API: submits message
- Contact API → Email Template: renders email
app/api/contact/route.ts - Email API → Email Template: uses template
app/api/send/route.ts - Contact API → Resend Email: sends email
app/api/contact/route.ts - Email API → Resend Email: sends email
- Interactive Landing → Rive Hero: renders hero
app/page.tsx - Rive Hero → Rive Button: renders button
components/RiveHero.tsx - Rive Hero → Media Query Hook: checks viewport
components/RiveHero.tsx - Rive Hero → Reduced Motion Hook: checks motion preference
components/RiveHero.tsx - Rive Hero → Throttle Helper: throttles resize
components/RiveHero.tsx