Skip to content

Commit

Permalink
Refacor game service to be atomic and scalable. WIP, still needs redi…
Browse files Browse the repository at this point in the history
…s cron jobs
  • Loading branch information
JordanPawlett committed May 1, 2020
1 parent 1f9de62 commit c5f0c44
Show file tree
Hide file tree
Showing 6 changed files with 708 additions and 357 deletions.
6 changes: 6 additions & 0 deletions services/admin-gateway-service/src/admin-gateway-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ export default class AdminGatewayService extends Service {
'PUT /games/start': 'games.start',
'POST /games/cards': 'games.submit',
'POST /games/winner': 'games.winner',
'GET /games/:id': 'games.get',
'GET /games': 'games.list',
'POST /games/search': 'games.find',
'POST /games': 'games.create',
'PATCH /games/:id': 'games.update',
'DELETE /games/:id': 'games.remove',
},
mappingPolicy: 'restrict',
bodyParsers: {
Expand Down
Loading

0 comments on commit c5f0c44

Please sign in to comment.