Put in order · NestJS course · Module 1: NestJS Basics

NestJS Application Startup Process

Arrange the stages of starting a NestJS application from beginning to end:

Items to put in order

  • Registration of global filters and pipes
  • Module and DI initialization
  • Application listens on a port
  • NestFactory.create(AppModule)
Show the answer

Correct order:

  1. NestFactory.create(AppModule)
  2. Module and DI initialization
  3. Registration of global filters and pipes
  4. Application listens on a port