Question · NestJS course · Module 1: NestJS Basics

NestJS Architecture

What are the building blocks of a NestJS application's architecture?

Answer options

  • Models, views and HTML templates rendered on the server
  • Components and directives rendered in the browser
  • Modules, controllers and providers (services) connected by dependency injection
  • A single main.ts file that holds all routes and all logic
Show the answer

Correct answer:

  • Modules, controllers and providers (services) connected by dependency injection