Nest CLI commands to generate REST API endpoints, DTOs and Entities
nest g
resource command not only generates all the NestJS building blocks (module, service, controller classes) but also an entity class, DTO classes as well as the testing (.spec
) files.