# Project Rules ## Testing Policy - **Mandatory Tests**: All new features and bug fixes must be accompanied by tests. - **Unit/Integration Tests**: Use **Vitest** for testing utilities, hooks, and components. - **E2E Tests**: Use **Playwright** for critical user flows (auth, core features). - **Coverage**: Aim for high coverage on business logic and critical paths. ## Tech Stack - **Framework**: Next.js 15 (App Router) - **Language**: TypeScript - **Styling**: Tailwind CSS - **Database**: PostgreSQL with Drizzle ORM - **State Management**: React Query ## Code Style - **Functional Components**: Use arrow functions for components. - **Types**: strict TypeScript usage (avoid `any`). - **Imports**: Use absolute imports (`@/...`).