Skip to content

Commit

Permalink
merge: pull request #1 from StiliyanKushev/mmqueue
Browse files Browse the repository at this point in the history
Implemented WS gateways for matchmaking queue system and gameplay.
  • Loading branch information
StiliyanKushev committed Feb 11, 2024
2 parents eb508bc + 1116170 commit b11d2f5
Show file tree
Hide file tree
Showing 33 changed files with 1,393 additions and 24 deletions.
204 changes: 204 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.0.0",
"@nestjs/event-emitter": "^2.0.4",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "*",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/platform-socket.io": "^10.3.1",
"@nestjs/swagger": "^7.2.0",
"@nestjs/typeorm": "^10.0.1",
"@nestjs/websockets": "^10.3.1",
"accept-language-parser": "^1.5.0",
"bcrypt": "^5.1.1",
"chess.js": "^1.0.0-beta.7",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"ioredis": "^5.3.2",
Expand All @@ -57,6 +61,7 @@
"@types/express": "^4.17.17",
"@types/jest": "^29.5.12",
"@types/node": "^20.3.1",
"@types/socket.io": "^3.0.2",
"@types/string-format": "^2.0.3",
"@types/supertest": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
Expand Down
10 changes: 9 additions & 1 deletion src/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { ContextIdFactory } from '@nestjs/core';
import { EventEmitterModule } from '@nestjs/event-emitter';
import { configSchema } from 'config.schema';
import { AggregateByLocaleContextIdStrategy } from 'core/aggregate-by-locale.strategy';
import { I18nModule } from 'i18n/i18n.module';
import { RedisModule } from 'redis/redis.module';
import { DatabaseModule } from './database/database.module';
import { GameplayModule } from './gameplay/gameplay.module';
import { GamesModule } from './games/games.module';
import { IamModule } from './iam/iam.module';
import { LoggingModule } from './logging/logging.module';
import { MatchmakingQueueModule } from './matchmaking-queue/matchmaking-queue.module';
import { SwaggerSetupModule } from './swagger-setup/swagger-setup.module';
import { UsersModule } from './users/users.module';
import { ValidationModule } from './validation/validation.module';
Expand All @@ -25,13 +29,17 @@ ContextIdFactory.apply(new AggregateByLocaleContextIdStrategy());
RedisModule.forRoot(),
I18nModule.forRoot(),
ValidationModule.forRoot(),
SwaggerSetupModule,
EventEmitterModule.forRoot(),
SwaggerSetupModule.forRoot(),

/**
* import all feature modules
*/
UsersModule,
IamModule,
MatchmakingQueueModule,
GameplayModule,
GamesModule,
],
})
export class AppModule {}
Loading

0 comments on commit b11d2f5

Please sign in to comment.