ad/src/app.module.ts

21 lines
651 B
TypeScript
Raw Normal View History

2023-05-03 11:43:21 +00:00
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { ConfigurationModule } from './modules/configuration/configuration.module';
2023-05-04 08:05:23 +00:00
import { HealthModule } from './modules/health/health.module';
import { AdModule } from './modules/ad/ad.module';
import { AutomapperModule } from '@automapper/nestjs';
import { classes } from '@automapper/classes';
2023-05-03 11:43:21 +00:00
@Module({
imports: [
ConfigModule.forRoot({ isGlobal: true }),
AutomapperModule.forRoot({ strategyInitializer: classes() }),
ConfigurationModule,
2023-05-04 08:05:23 +00:00
HealthModule,
AdModule,
],
2023-05-03 11:43:21 +00:00
controllers: [],
providers: [],
})
export class AppModule {}