Blocks
Nest REST generation commands
Nest CLI commands to generate REST API endpoints, DTOs and Entities
REST module generation command
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.