Skip to content

Commit

Permalink
feat: add countries module
Browse files Browse the repository at this point in the history
  • Loading branch information
william koller committed Oct 12, 2021
1 parent 4b26574 commit 079c52c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { forwardRef, Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ContinentsModule } from '@/modules/continents/continents.module';
import { CountriesModule } from '../countries/countries.module';

@Module({
imports: [
Expand All @@ -15,6 +16,7 @@ import { ContinentsModule } from '@/modules/continents/continents.module';
}),
TypeOrmModule.forRoot(configService.getTypeOrmConfig()),
forwardRef(() => ContinentsModule),
forwardRef(() => CountriesModule),
],
controllers: [],
providers: [],
Expand Down
4 changes: 4 additions & 0 deletions src/modules/countries/countries.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Module } from '@nestjs/common';

@Module({})
export class CountriesModule {}

0 comments on commit 079c52c

Please sign in to comment.