NestJS · Junior · Question 3 of 75

How do you create a new NestJS project?

Explanation

The CLI creates main.ts, a root AppModule, a sample controller and service, plus test setup. nest generate (nest g) adds modules, controllers and services.

Further reading

Problem with a question

NestJS · Junior · question 3

Test yourself

Take the NestJS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz