Skip to content

Instantly share code, notes, and snippets.

@imflamboyant
Created May 4, 2022 08:47
Show Gist options
  • Select an option

  • Save imflamboyant/ab583597d144f5095e6ee0205fea1bf6 to your computer and use it in GitHub Desktop.

Select an option

Save imflamboyant/ab583597d144f5095e6ee0205fea1bf6 to your computer and use it in GitHub Desktop.
import { Module } from '@nestjs/common';
import { SongService } from './song.service';
import { SongController } from './song.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Song } from './entities/song.entity';
@Module({
imports: [TypeOrmModule.forFeature([Song])],
controllers: [SongController],
providers: [SongService],
})
export class SongModule {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment