Skip to content

NestJS Tips

Barrett Falk edited this page Sep 13, 2023 · 2 revisions

Scenario: You want to generate new CRUD classes?

Solution: use the nest cli

nest g resource {resource_name}

Still doesn't work? Try installing nest cli:

sudo npm install -g @nestjs/cli

Scenario: You want to generate the api spec via swagger

Solution: go to localhost:3001/api-json

Clone this wiki locally