Template
feat: game creation and login
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { LobbyService } from './services/lobby.service';
|
||||
import { LobbyController } from './controllers/games.lobby.controller';
|
||||
import { Game } from './schemas/game.schema';
|
||||
import { LobbyController } from './controllers/lobby.controller';
|
||||
import { Game } from './entities/game.entity';
|
||||
import { UsersModule } from 'src/users/users.module';
|
||||
import { GamesController } from './controllers/games.controller';
|
||||
import { GameService } from './services/games.service';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Player } from './entities/player.entity';
|
||||
|
||||
@Module({
|
||||
imports: [UsersModule, TypeOrmModule.forFeature([Game])],
|
||||
imports: [
|
||||
UsersModule,
|
||||
TypeOrmModule.forFeature([Game]),
|
||||
TypeOrmModule.forFeature([Player]),
|
||||
],
|
||||
controllers: [LobbyController, GamesController],
|
||||
providers: [LobbyService, GameService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user