How gvardhan97/jobify- works
Jobify is a Next.js job-application tracker. Users enter the dashboard, create or manage applications, and review status counts and monthly trends. Server actions authenticate requests and perform per-user job queries and mutations through Prisma; dashboard pages prefetch data for the client UI. The README also describes Clerk protection, search/filter/pagination, themes, and feedback. Some component implementations were not sampled, so those relationships are included only where the source index or README documents them.
Main entry points: actions.ts Server actions · CreateJobForm.tsx Create job form · EditJobForm.tsx Edit job form · JobsList.tsx Jobs list
Components 25
Application routes
- Public landing
app/page.tsx - Dashboard layout
app/(dashboard)/layout.tsx - Route protection
middleware.ts - Add job route
app/(dashboard)/add-job/page.tsx - Jobs route
app/(dashboard)/jobs/page.tsx - Job detail route
app/(dashboard)/jobs/[id]/page.tsx - Stats route
app/(dashboard)/stats/page.tsx
Job workflows
- Create job form
components/CreateJobForm.tsx - Edit job form
components/EditJobForm.tsx - Jobs list
components/JobsList.tsx - Search and filter
components/SearchForm.tsx - Job card
components/JobCard.tsx - Job actions
components/ComplexButtonContainer.tsx
Analytics
- Status summaries
components/StatsContainer.tsx - Status card
components/StatsCard.tsx - Monthly charts
components/ChartsContainer.tsx
Data and interface
- Server actions
utils/actions.ts - Prisma job store
utils/db.ts - Job schema and types
utils/types.ts - Dashboard navigation
components/Navbar.tsx - Theme toggle
components/ThemeToggle.tsx - Toast feedback
components/ui/use-toast.ts
Other components
- Job seeker
- Clerk identity
- PostgreSQL
Connections 30
- Job seeker → Public landing: opens
- Job seeker → Dashboard layout: uses
- Route protection → Clerk identity: authenticates
- Add job route → Create job form: renders
app/(dashboard)/add-job/page.tsx - Jobs route → Server actions: prefetches jobs
app/(dashboard)/jobs/page.tsx - Jobs route → Jobs list: renders
app/(dashboard)/jobs/page.tsx - Jobs route → Search and filter: renders
app/(dashboard)/jobs/page.tsx - Job detail route → Edit job form: renders
app/(dashboard)/jobs/[id]/page.tsx - Job detail route → Server actions: loads job
app/(dashboard)/jobs/[id]/page.tsx - Stats route → Server actions: prefetches metrics
app/(dashboard)/stats/page.tsx - Stats route → Status summaries: renders
app/(dashboard)/stats/page.tsx - Stats route → Monthly charts: renders
app/(dashboard)/stats/page.tsx - Create job form → Server actions: creates job
components/CreateJobForm.tsx - Edit job form → Server actions: updates job
components/EditJobForm.tsx - Create job form → Job schema and types: validates with
components/CreateJobForm.tsx - Edit job form → Job schema and types: validates with
components/EditJobForm.tsx - Create job form → Toast feedback: shows feedback
components/CreateJobForm.tsx - Edit job form → Toast feedback: shows feedback
components/EditJobForm.tsx - Jobs list → Job card: renders
components/JobsList.tsx - Jobs list → Job actions: uses
components/JobsList.tsx - Jobs list → Server actions: loads jobs
components/JobsList.tsx - Status summaries → Status card: renders
components/StatsContainer.tsx - Status summaries → Server actions: loads counts
components/StatsContainer.tsx - Monthly charts → Server actions: loads trends
components/ChartsContainer.tsx - Server actions → Clerk identity: checks identity
utils/actions.ts - Server actions → Prisma job store: queries and mutates
utils/actions.ts - Prisma job store → PostgreSQL: persists jobs
- Dashboard layout → Dashboard navigation: renders
app/(dashboard)/layout.tsx - Dashboard navigation → Theme toggle: includes toggle
components/Navbar.tsx - Job seeker → Route protection: requests dashboard