territory/src/app.module.ts

19 lines
606 B
TypeScript

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';
import { TerritoriesModule } from './modules/territories/territories.module';
@Module({
imports: [
ConfigModule.forRoot({ isGlobal: true }),
AutomapperModule.forRoot({ strategyInitializer: classes() }),
TerritoriesModule,
ConfigurationModule,
],
controllers: [],
providers: [],
})
export class AppModule {}