Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { MongooseAsyncOptions } from './configs/mongodb.config';
- @Module({
- imports: [
- ConfigModule.forRoot({
- envFilePath: ['.env', '.env.mongo'],
- isGlobal: true,
- load: [databaseEnv, appEnv, authEnv],
- }),
- MongooseModule.forRootAsync(MongooseAsyncOptions),
- TicketDepartmentsModule,
- DatabaseModule,
- ],
- controllers: [AppController],
- providers: [AppService],
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement