14 lines
438 B
TypeScript
14 lines
438 B
TypeScript
|
import { Module } from '@nestjs/common';
|
||
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
||
|
import { AppController } from './app.controller';
|
||
|
import { AppService } from './app.service';
|
||
|
import { config } from './database/config';
|
||
|
import { UsersModule } from './modules/users.module';
|
||
|
|
||
|
@Module({
|
||
|
imports: [TypeOrmModule.forRoot(config), UsersModule],
|
||
|
controllers: [AppController],
|
||
|
providers: [AppService],
|
||
|
})
|
||
|
export class AppModule {}
|