Put in order · NestJS course · Module 12: Containers and CI/CD

Review: ConfigService - reading container variables

Arrange the elements of reading an environment variable via ConfigService:

Items to put in order

  • .configService
  • this
  • .get<string>
  • ('DATABASE')

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