LocChat/server/app.module.ts

14 lines
457 B
TypeScript
Raw Normal View History

2021-11-16 21:14:46 -05:00
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AppController } from './app.controller';
import { config } from './database/config';
import { UsersModule } from './modules/users.module';
2021-11-23 16:04:12 -05:00
import { JwtService } from './providers/services/jwt.service';
2021-11-16 21:14:46 -05:00
@Module({
imports: [TypeOrmModule.forRoot(config), UsersModule],
controllers: [AppController],
2021-11-23 16:04:12 -05:00
providers: [JwtService],
2021-11-16 21:14:46 -05:00
})
export class AppModule {}