Question · NestJS course · Module 1: NestJS Basics

Additional: The main.ts File

What is the main function of the main.ts file in NestJS?

Answer options

  • Defining controllers
  • Creating and starting the application instance (bootstrap)
  • Database configuration
  • Defining routing paths
Show the answer

Correct answer:

  • Creating and starting the application instance (bootstrap)