Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
feat: generate BestAlbum architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Dec 27, 2019
1 parent 16ffa3a commit ba1f875
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { OpenSourcesModule } from './open-sources/open-sources.module'
import { BandwagonModule } from './bandwagon/bandwagon.module'
import { LiveToursModule } from './live-tours/live-tours.module'
import { YanceyMusicModule } from './yancey-music/yancey-music.module'
import { BestAlbumsModule } from './best-albums/best-albums.module'

@Module({
imports: [
Expand All @@ -33,6 +34,7 @@ import { YanceyMusicModule } from './yancey-music/yancey-music.module'
BandwagonModule,
LiveToursModule,
YanceyMusicModule,
BestAlbumsModule,
],
providers: [
{
Expand Down
4 changes: 4 additions & 0 deletions src/best-albums/best-albums.controller.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Controller } from '@nestjs/common'

@Controller('best-albums')
export class BestAlbumsController {}
9 changes: 9 additions & 0 deletions src/best-albums/best-albums.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Module } from '@nestjs/common'
import { BestAlbumsController } from './best-albums.controller'
import { BestAlbumsService } from './best-albums.service'

@Module({
controllers: [BestAlbumsController],
providers: [BestAlbumsService],
})
export class BestAlbumsModule {}
4 changes: 4 additions & 0 deletions src/best-albums/best-albums.service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common'

@Injectable()
export class BestAlbumsService {}

0 comments on commit ba1f875

Please sign in to comment.