LocChat/server/modules/users.module.ts

14 lines
526 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 { User } from 'server/entities/user.entity';
import { SessionsController } from '../controllers/sessions.controller';
2021-11-20 20:18:58 -05:00
import { UsersController } from 'server/controllers/users.controller';
2021-11-16 21:14:46 -05:00
import { UsersService } from '../providers/services/users.service';
2021-11-20 20:18:58 -05:00
2021-11-16 21:14:46 -05:00
@Module({
imports: [TypeOrmModule.forFeature([User])],
2021-11-20 20:18:58 -05:00
controllers: [SessionsController, UsersController],
2021-11-16 21:14:46 -05:00
providers: [UsersService],
})
export class UsersModule {}