Development Guide
Patterns for building features in the current Next.js Drizzle kit.
Use the development guide as a reference for the repo's normal flow:
- define schema and validation
- update database code if needed
- add server actions or loaders
- build UI components
- wire the page
Canonical Locations
- authenticated pages:
apps/web/app/[locale]/(internal)/... - public pages:
apps/web/app/[locale]/(public)/... - auth pages:
apps/web/app/[locale]/auth/... - local feature logic:
_lib/ - local feature UI:
_components/ - shared packages:
packages/**
There is no dedicated packages/features/ folder in this repo. If code becomes broadly shared, create a normal workspace package under packages/ or one of the grouped package families.
Topics
- Development Workflow
- Adding Features
- Server Actions
- Action Middleware
- Working with Forms
- Database Operations
Next: Development Workflow →