Click in order · NestJS course · Module 9: Deployment and Infrastructure

Production Initialization

Arrange the main.ts configuration elements in the correct order:

Items to click

  • app.use(helmet())
  • const app = await NestFactory.create(AppModule)
  • app.useGlobalPipes(new ValidationPipe())
  • await app.listen(port)

You can check the correct answer by solving this task in the CodeWorlds game.