Project Structure
start-kit/
├── app/ # Next.js App Router pages
│ ├── (auth)/ # Authentication pages (login, register, etc.)
│ ├── api/ # API routes
│ │ └── auth/ # Better Auth API endpoints
│ ├── dashboard/ # Dashboard pages
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Landing page
│ ├── error.tsx # Error page
│ └── not-found.tsx # 404 page
├── components/ # React components
│ ├── auth/ # Authentication components
│ ├── dashboard/ # Dashboard components
│ ├── ui/ # Shadcn UI components
│ ├── nav.tsx # Navigation component
│ └── footer.tsx # Footer component
├── hooks/ # Custom React hooks
│ ├── use-auth.ts # Main authentication hook
│ ├── use-session.ts # Session hook
│ └── use-user.ts # User data hook
├── lib/ # Utility libraries
│ ├── auth/ # Auth configuration and utilities
│ ├── db/ # Database utilities
│ └── utils.ts # General utilities
├── models/ # Mongoose models
│ └── User.ts # User model
└── store/ # Zustand stores
└── auth-store.ts # Authentication state storeSource captured: 2026-10-11