Skip to main content

Folder Structure

Key Conventions

  • Page routes use the App Router file convention (page.tsx, layout.tsx)
  • Auth routes are in (auth)/ group — no sidebar, public access
  • Dashboard routes are in (dashboard)/ group — sidebar, auth required
  • Components are organized by feature domain, not by type
  • Database operations are one file per table/domain in src/lib/db/
  • Hooks are one file per feature in src/hooks/