How shahilsingh546/careeros works
CareerOS is a job-application tracker. A user signs in, reaches a protected dashboard, adds applications, and reviews or edits and deletes them; the backend authenticates requests and persists user-scoped records through Prisma. Dashboard summaries and status controls are present as distinct UI capabilities, though their data behavior is not shown. The sampled code supports the main frontend-to-API calls and backend persistence links; signup form wiring and several unsampled UI details remain uncertain.
Main entry points: page.tsx Dashboard page · User.tsx User greeting · index.ts Application endpoints · ApplicationList.tsx Application list
Components 19
Identity and access
- Sign in
frontend/app/api/(auth)/signin/page.tsx - Sign up
frontend/app/api/(auth)/signup/page.tsx - Session middleware
frontend/middleware.ts - Logout control
frontend/components/logout.tsx
Dashboard experience
- App shell
frontend/app/layout.tsx - Navigation
frontend/components/navabar.tsx - Dashboard page
frontend/app/page.tsx - User greeting
frontend/components/User.tsx - Application stats
frontend/components/StatsCard.tsx - Status filters
frontend/components/StatusTab.tsx
Application tracking
- Application list
frontend/components/ApplicationList.tsx - Application card
frontend/components/ApplicationCard.tsx - Application form
frontend/components/ApplicationForm.tsx - Shared buttons
frontend/components/button.tsx
API and persistence
- Auth endpoints
backend/src/index.ts - Application endpoints
backend/src/index.ts - Prisma client
backend/src/lib/prisma.ts - Application database
backend/prisma/schema.prisma
Other components
- Job seeker
Connections 22
- Job seeker → Sign in: signs in
frontend/app/api/(auth)/signin/page.tsx - Job seeker → Sign up: registers
frontend/app/api/(auth)/signup/page.tsx - Sign in → Auth endpoints: posts login
frontend/app/api/(auth)/signin/page.tsx - Auth endpoints → Prisma client: queries users
backend/src/index.ts - Prisma client → Application database: persists records
- Job seeker → Session middleware: requests dashboard
frontend/middleware.ts - Session middleware → Dashboard page: passes identity
frontend/middleware.ts - App shell → Navigation: renders
frontend/app/layout.tsx - Navigation → Logout control: renders
frontend/components/navabar.tsx - Dashboard page → User greeting: renders
frontend/app/page.tsx - Dashboard page → Application stats: renders
frontend/app/page.tsx - Dashboard page → Status filters: renders
frontend/app/page.tsx - Dashboard page → Application list: renders
frontend/app/page.tsx - User greeting → Application form: opens form
frontend/components/User.tsx - User greeting → Application endpoints: posts application
frontend/components/User.tsx - Application list → Application endpoints: fetches applications
frontend/components/ApplicationList.tsx - Application list → Application card: renders cards
frontend/components/ApplicationList.tsx - Application card → Application endpoints: edits or deletes
frontend/components/ApplicationCard.tsx - Application card → Shared buttons: renders controls
frontend/components/ApplicationCard.tsx - User greeting → Shared buttons: renders control
frontend/components/User.tsx - Application endpoints → Prisma client: reads and writes
backend/src/index.ts - Logout control → Auth endpoints: clears session