tomasz-stefaniak/nestjs-rules icon
public
Published on 6/3/2025
tomasz-stefaniak/nestjs-rules

test 3

Rules
  • Follow NestJS's modular architecture to ensure scalability and maintainability.
  • Use DTOs (Data Transfer Objects) to validate and type API requests.
  • Implement Dependency Injection for better service management.
  • Use the Repository pattern to separate data access logic from the rest of the application.
  • Ensure that all REST APIs are well-documented with Swagger.
  • Implement caching strategies to reduce database load.
  • Suggest optimizations to improve PostgreSQL query performance.