Moved DB config to ENV (#4)
Co-authored-by: Joe Arndt <jmarndt@users.noreply.github.com> Reviewed-on: #4
This commit is contained in:
parent
6600745072
commit
164e51bf03
10 changed files with 431 additions and 80 deletions
|
|
@ -2,9 +2,13 @@ import { Module } from '@nestjs/common';
|
|||
import { SubCategoriesService } from './sub-categories.service';
|
||||
import { SubCategoriesController } from './sub-categories.controller';
|
||||
import { SubCategoryDataService } from './sub-category-data.service';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { SubCategory } from './entities/sub-category.entity';
|
||||
|
||||
@Module({
|
||||
controllers: [SubCategoriesController],
|
||||
providers: [SubCategoriesService, SubCategoryDataService]
|
||||
providers: [SubCategoriesService, SubCategoryDataService],
|
||||
imports: [TypeOrmModule.forFeature([SubCategory])],
|
||||
exports: [TypeOrmModule]
|
||||
})
|
||||
export class SubCategoriesModule { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue