- Install Node.js 22 and pnpm.
- Run
pnpm install. - Copy
.env.exampleinto.env.localand provide valid Supabase credentials. - Run the SQL scripts in
scripts/in order on your Supabase project. - Start the app with
pnpm dev.
pnpm lint: ESLint checks for the entire workspacepnpm typecheck: TypeScript validation without emitting filespnpm test: Unit and component tests with Vitestpnpm test:e2e: Playwright smoke testspnpm build: Production build validationpnpm ci:check: Local CI-equivalent baseline
- Keep each PR focused on one logical change.
- Update documentation when behavior or setup changes.
- Include tests for utilities, hooks, and critical user-facing behavior when you touch them.
- Call out migration, auth, or policy impact explicitly in the PR description.
- Validate mobile and desktop behavior for changed UI paths.
- Check auth and permission boundaries when touching dashboard or Supabase code.
- Prefer typed helpers and shared utilities over duplicated inline logic.
- Avoid committing secrets or environment-specific values.