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

ConfigModule Registration

Arrange the elements of ConfigModule registration in the correct order:

Items to click

  • })
  • envFilePath: '.env',
  • isGlobal: true
  • ConfigModule.forRoot({
Show the answer

Correct order:

  1. ConfigModule.forRoot({
  2. envFilePath: '.env',
  3. isGlobal: true
  4. })