npm run dev- Start development server with Turbo modenpm run build- Build the Next.js applicationnpm run start- Start production servernpm run lint- Run Next.js linting
- TypeScript: Strict mode enabled, use explicit types for function parameters and returns
- Naming: React components use PascalCase, functions/variables use camelCase, interfaces use PascalCase
- Imports: Group imports - React first, third-party libraries next, project imports last (with @/ path alias)
- Error Handling: Always use try/catch blocks, structured error logging with context metadata
- Components: Prefer functional components with hooks, use typed props
- Logging: Use the Winston logger from
/src/lib/logger.tswith appropriate log levels - UI Components: Utilize the shadcn/ui components in
/src/components/ui - Styling: Use Tailwind CSS utility classes