matcher/src/app.module.ts

23 lines
736 B
TypeScript
Raw Normal View History

2023-04-06 09:12:49 +00:00
import { classes } from '@automapper/classes';
import { AutomapperModule } from '@automapper/nestjs';
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { ConfigurationModule } from './modules/configuration/configuration.module';
2023-04-06 12:21:43 +00:00
import { HealthModule } from './modules/health/health.module';
import { MatcherModule } from './modules/matcher/matcher.module';
2023-05-02 15:26:04 +00:00
import { AdModule } from './modules/ad/ad.module';
2023-04-06 09:12:49 +00:00
@Module({
imports: [
ConfigModule.forRoot({ isGlobal: true }),
AutomapperModule.forRoot({ strategyInitializer: classes() }),
ConfigurationModule,
2023-04-06 12:21:43 +00:00
HealthModule,
MatcherModule,
2023-04-24 14:44:52 +00:00
AdModule,
2023-04-06 09:12:49 +00:00
],
controllers: [],
providers: [],
})
export class AppModule {}