Development
Code Style
- TypeScript strict where possible
- Prefer functional components and hooks
- Keep components small and composable
- Co-locate component styles
Useful Paths
API Layer
Use the API service wrapper inclient/lib/services for authenticated requests.
Auth
- Config in
client/auth.tsandclient/auth.config.ts - Server components can use cookies/session via NextAuth
Testing
- Jest + Testing Library configured