dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_CountryModule cluster_CountryModule_providers cluster_CountryModule_exports CountryService CountryService CountryModule CountryModule CountryModule->CountryService CountryService CountryService CountryService->CountryModule

File

src/country/country.module.ts

Providers

Controllers

Exports

import { Module } from '@nestjs/common';
import { CountryController } from './country.controller';
import { CountryService } from './providers/country.service';
import { Country } from './country.entity';
import { TypeOrmModule } from '@nestjs/typeorm';

@Module({
  controllers: [CountryController],
  providers: [CountryService],
  imports: [TypeOrmModule.forFeature([Country])],
  exports: [CountryService],
})
export class CountryModule {}

results matching ""

    No results matching ""