14 Nestjs Config module to work with env files and hide your secrets from codebase

Опубликовано: 29 Сентябрь 2024
на канале: Amitav Roy
25,745
228

#nestjs #configuration
In this video, I am going to remove the secrets that are right now inside our code base. We will install the config module of NestJs, use the configService and then configure it to use the database configuration values from the .env file.

This is a very common requirement so that we can safely make the application not be aware of the secrets of local vs production environment.

Github: https://my-lnk.com/r/2233233755