lila/apps/api/src/services
lila 0118798e36 feat: guest play — allow singleplayer quiz without auth
- Add optionalAuth middleware: attaches session when present,
  never blocks (guests pass through)
- Make game endpoints (start/answer) accept optional auth
- GameSessionStore.userId: string → string | null
- Rate limiter falls back to IP for unauthenticated users
- Frontend: remove /play route guard, show 'Create account' CTA
  on score screen for guests
- Add tests for guest session creation, answer submission,
  and cross-user session isolation
2026-05-31 21:28:08 +02:00
..
gameService.test.ts feat: guest play — allow singleplayer quiz without auth 2026-05-31 21:28:08 +02:00
gameService.ts feat: guest play — allow singleplayer quiz without auth 2026-05-31 21:28:08 +02:00
lobbyService.test.ts test: fill coverage gaps in lobbyService and gameService 2026-04-24 10:11:36 +02:00
lobbyService.ts fix(api): use server.listen instead of app.listen for WebSocket support 2026-04-18 21:57:58 +02:00
multiplayerGameService.test.ts feat: migrate production schema from OMW to Kaikki flat vocabulary model 2026-05-05 17:39:25 +02:00
multiplayerGameService.ts feat: migrate production schema from OMW to Kaikki flat vocabulary model 2026-05-05 17:39:25 +02:00