Question · NestJS course · Module 1: NestJS Basics

Environment Variables File

In which file do we store environment variables in a NestJS project?

Answer options

  • config.json
  • .env
  • settings.yaml
  • environment.xml
Show the answer

Correct answer:

  • .env