import { Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; import { ConfigurationModule } from './modules/configuration/configuration.module'; import { HealthModule } from './modules/health/health.module'; import { AdModule } from './modules/ad/ad.module'; import { AutomapperModule } from '@automapper/nestjs'; import { classes } from '@automapper/classes'; @Module({ imports: [ ConfigModule.forRoot({ isGlobal: true }), AutomapperModule.forRoot({ strategyInitializer: classes() }), ConfigurationModule, HealthModule, AdModule, ], controllers: [], providers: [], }) export class AppModule {}