mancala/docs/specs/game-history
Halit Aksoy f404b92aaf feat(backend): save finished games in Postgres
- Connection pool and a small migration runner (schema_migrations, one
  transaction per migration, advisory lock)
- games and game_players tables with indexes for a user's games and for
  popular games
- PostgresGameHistoryRepository: idempotent save, get, recent games of a
  user, popular games
- Integration tests against a real Postgres via testcontainers; a custom
  Jest environment gives tests Node's web globals, which Jest 27 leaves out
- GameRecord carries the number of distinct spectators
2026-10-16 00:11:12 +03:00
..
design.md feat(backend): save finished games in Postgres 2026-10-16 00:11:12 +03:00
requirements.md docs: add game history and live games spec 2026-10-16 00:03:32 +03:00
tasks.md feat(backend): save finished games in Postgres 2026-10-16 00:11:12 +03:00