Skip to main content

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 in client/lib/services for authenticated requests.

Auth

  • Config in client/auth.ts and client/auth.config.ts
  • Server components can use cookies/session via NextAuth

Testing

  • Jest + Testing Library configured

Common Scripts