mantimon-tcg/backend/app/api
Cal Corum cc0254d5ab Implement REST endpoints for game management (API-001)
Add REST API endpoints for game lifecycle operations:
- POST /games - Create new game between two players
- GET /games/{game_id} - Get game info for reconnection
- GET /games/me/active - List user's active games
- POST /games/{game_id}/resign - Resign from game via HTTP

Includes proper reverse proxy support for WebSocket URL generation
(X-Forwarded-* headers -> settings.base_url -> Host header fallback).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 23:09:12 -06:00
..
__init__.py Implement Phase 2: Authentication system 2026-01-27 21:49:59 -06:00
auth.py Fix OAuth callback redirect and deps import 2026-01-28 00:17:27 -06:00
collections.py Fix security and validation issues from code review 2026-01-28 14:16:07 -06:00
decks.py Fix medium priority issues from code review 2026-01-28 14:32:08 -06:00
deps.py Implement REST endpoints for game management (API-001) 2026-01-29 23:09:12 -06:00
games.py Implement REST endpoints for game management (API-001) 2026-01-29 23:09:12 -06:00
users.py Fix security and validation issues from code review 2026-01-28 14:16:07 -06:00