Recall & Review
beginner
What is project scaffolding in NestJS?
Project scaffolding in NestJS means creating the basic folder and file structure automatically to start a new app quickly.
Click to reveal answer
beginner
Which command creates a new NestJS project with default structure?
The command
nest new project-name creates a new NestJS project with all basic files and folders set up.Click to reveal answer
beginner
Name three main folders created by NestJS scaffolding.
The main folders are
src (source code), test (tests), and node_modules (dependencies).Click to reveal answer
beginner
Why is using NestJS CLI for scaffolding helpful?
It saves time, ensures best practices, and sets up a working project with correct configs and dependencies.
Click to reveal answer
beginner
What files are included in the NestJS scaffold for app configuration?
Files like
main.ts (app entry), app.module.ts (root module), and package.json (project info) are included.Click to reveal answer
Which command do you run to create a new NestJS project?
✗ Incorrect
The
nest new my-app command scaffolds a new NestJS project with default structure.What folder contains the main source code in a NestJS scaffolded project?
✗ Incorrect
The
src folder holds the main source code files in NestJS projects.Which file is the entry point of a NestJS application?
✗ Incorrect
main.ts is the entry point where the NestJS app starts running.What benefit does NestJS CLI provide when scaffolding a project?
✗ Incorrect
NestJS CLI scaffolds projects following best practices and correct setup.
Which file contains project dependencies in a NestJS scaffold?
✗ Incorrect
package.json lists all dependencies and scripts for the project.Explain what happens when you run
nest new to scaffold a project.Think about the steps the CLI automates for you.
You got /4 concepts.
Describe the purpose of the
src folder in a NestJS scaffolded project.Where do you write your NestJS code?
You got /3 concepts.