dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_PeopleModule cluster_PeopleModule_providers cluster_PeopleModule_exports PeopleService PeopleService PeopleModule PeopleModule PeopleModule->PeopleService PeopleService PeopleService PeopleService->PeopleModule

File

src/people/people.module.ts

Providers

Controllers

Exports

import { Module } from '@nestjs/common';
import { PeopleController } from './people.controller';
import { PeopleService } from './people.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Person } from './person.entity';

@Module({
  controllers: [PeopleController],
  providers: [PeopleService],
  imports: [TypeOrmModule.forFeature([Person])],
  exports:[PeopleService]
})
export class PeopleModule {}

results matching ""

    No results matching ""