mantimon-tcg/backend
Cal Corum 29ab0b3d84 Add GameStateManager service with Redis/Postgres dual storage
- Implement GameStateManager with Redis-primary, Postgres-backup pattern
- Cache operations: save_to_cache, load_from_cache, delete_from_cache
- DB operations: persist_to_db, load_from_db, delete_from_db
- High-level: load_state (cache-first), delete_game, recover_active_games
- Query helpers: get_active_game_count, get_player_active_games
- Add 22 tests for GameStateManager (87% coverage)
- Add 6 __repr__ tests for all DB models (100% model coverage)
2026-01-27 10:59:58 -06:00
..
app Add GameStateManager service with Redis/Postgres dual storage 2026-01-27 10:59:58 -06:00
data Complete card scrape for Genetic Apex (A1) and Mythical Island (A1a) 2026-01-26 23:21:08 -06:00
project_plans Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
references Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
scripts Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
tests Add GameStateManager service with Redis/Postgres dual storage 2026-01-27 10:59:58 -06:00
.env.example Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
.gitignore Add backend foundation with uv, Black, and pre-commit hooks 2026-01-24 00:12:33 -06:00
.python-version Add backend foundation with uv, Black, and pre-commit hooks 2026-01-24 00:12:33 -06:00
alembic.ini Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
docker-compose.yml Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
PROJECT_PLAN_MASTER.json Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
PROJECT_PLAN.json Complete LOW-001: Verify comprehensive docstring coverage 2026-01-26 14:55:03 -06:00
pyproject.toml Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
uv.lock Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00