Created
March 27, 2025 18:52
-
-
Save Vatsalya-singhi/4d677c660890727ac7f89d7160d05179 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app.module.ts | |
import { Module } from '@nestjs/common'; | |
import { ConfigModule } from '@nestjs/config'; | |
@Module({ | |
// loads default .env file present in project directory | |
imports: [ConfigModule.forRoot()], | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment