How kashishbhutia/ai-career-coach works
AI Career Coach is a Next.js career-development platform. Users authenticate, provide career details during onboarding, then use personalized dashboard insights, resume building, AI cover letters, and interview preparation. Server actions connect feature workflows to Prisma-backed user and career records; Gemini powers generated content, while Inngest exposes a background industry-insights workflow. The README also describes career recommendations, though the sampled source does not establish their implementation or connections. Relationships for unsampled components are limited to references in the source index.
Main entry points: prisma.js Prisma database · cover-letter.js Cover-letter actions · interview.js Interview actions · onboarding-form.jsx Profile onboarding
Components 23
Entry and Profile
- Authentication
app/(auth)/sign-in/[[...sign-in]]/page.jsx - Profile onboarding
app/(main)/onboarding/_components/onboarding-form.jsx - Industry options
data/industries.js - User actions
actions/user.js
Career Guidance
- Career dashboard
app/(main)/dashboard/_component/dashboard-view.jsx - Dashboard actions
actions/dashboard.js - Industry insights job
lib/inngest/function.js - Career recommendations
Career Documents
- Resume builder
app/(main)/resume/_components/resume-builder.jsx - Resume entry form
app/(main)/resume/_components/entry-form.jsx - Resume actions
actions/resume.js - Cover-letter generator
app/(main)/ai-cover-letter/_components/cover-letter-generator.jsx - Cover-letter actions
actions/cover-letter.js - Cover-letter library
app/(main)/ai-cover-letter/_components/cover-letter-list.jsx
Interview Preparation
- Interview preparation
app/(main)/interview/page.jsx - Interview actions
actions/interview.js - Quiz experience
app/(main)/interview/_components/quiz.jsx - Quiz results and stats
app/(main)/interview/_components/quiz-result.jsx
Services and Storage
- Prisma database
lib/prisma.js - Inngest endpoint
app/api/inngest/route.js - Inngest client
lib/inngest/client.js
Other components
- Career seeker
- Google Gemini
Connections 24
- Career seeker → Authentication: signs in
- Career seeker → Profile onboarding: provides profile
app/(main)/onboarding/_components/onboarding-form.jsx - Profile onboarding → Industry options: offers choices
app/(main)/onboarding/page.jsx - Profile onboarding → User actions: submits profile
app/(main)/onboarding/_components/onboarding-form.jsx - User actions → Prisma database: reads and writes
actions/user.js - Dashboard actions → Prisma database: reads career data
actions/dashboard.js - Career dashboard → Dashboard actions: loads insights
app/(main)/dashboard/page.jsx - User actions → Dashboard actions: uses dashboard data
actions/user.js - Industry insights job → Prisma database: persists insights
lib/inngest/function.js - Inngest endpoint → Inngest client: serves events
app/api/inngest/route.js - Inngest endpoint → Industry insights job: registers job
app/api/inngest/route.js - Resume builder → Resume entry form: renders entries
app/(main)/resume/_components/resume-builder.jsx - Resume builder → Resume actions: saves resume
app/(main)/resume/_components/resume-builder.jsx - Resume actions → Prisma database: reads and writes
actions/resume.js - Cover-letter generator → Cover-letter actions: generates letter
- Cover-letter actions → Prisma database: reads and writes
actions/cover-letter.js - Cover-letter actions → Google Gemini: generates content
actions/cover-letter.js - Cover-letter library → Cover-letter actions: loads and deletes
app/(main)/ai-cover-letter/_components/cover-letter-list.jsx - Interview preparation → Interview actions: loads assessments
app/(main)/interview/page.jsx - Interview preparation → Quiz results and stats: displays summaries
app/(main)/interview/page.jsx - Interview actions → Prisma database: reads and writes
actions/interview.js - Interview actions → Google Gemini: generates questions
actions/interview.js - Quiz experience → Interview actions: saves quiz result
- Career seeker → Career recommendations: seeks guidance