NestJS · Junior · Question 7 of 75
What does the nest g resource users command do?
- 1Deletes the
usersfolder - 2Creates a
usersdatabase table - ✓Correct answer: Generates a module, controller, service, DTOs and an entity for a
usersCRUD feature
Explanation
It asks which transport you want (REST, GraphQL, microservice, WebSockets) and wires the new module into the parent module.