Created
August 26, 2020 23:00
-
-
Save Mr-Malomz/874f6e069ceaabca2f0626c2c31bf39a to your computer and use it in GitHub Desktop.
Updated ap.module.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Module } from '@nestjs/common'; | |
import { AppController } from './app.controller'; | |
import { AppService } from './app.service'; | |
import { AuthModule } from './auth/auth.module'; | |
import { TypeOrmModule } from '@nestjs/typeorm'; | |
import { typeOrmConfig } from './config/typeorm.config'; | |
@Module({ | |
// Updated imports to finailize configuration | |
imports: [TypeOrmModule.forRoot(typeOrmConfig), AuthModule], | |
controllers: [AppController], | |
providers: [AppService], | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment