# Additional Guidelines

## Dependencies to Consider

- `@nestjs/common` – Core NestJS functionality
- `@nestjs/config` – Configuration management
- `@nestjs/typeorm` – TypeORM integration
- `@nestjs/swagger` – API documentation
- `@nestjs/jwt` – JWT authentication
- `@nestjs/passport` – Authentication strategies
- `class-validator` – Validation decorators
- `class-transformer` – Data transformation
- `bcrypt` – Password hashing

## Security

- Use guards for authentication and authorization
- Implement proper input validation with DTOs
- Hash passwords with bcrypt
- Sanitize user inputs

## Error Handling

- Use built-in HTTP exceptions
- Create custom exception filters
- Return consistent error responses

## Performance & Configuration

- Use caching where appropriate
- Implement pagination for large datasets
- Validate configuration with Joi
- Keep sensitive data in environment variables
  description:
  globs:
  alwaysApply: false

---
