mantimon-tcg/backend/app
Cal Corum 58349c126a Phase 3: Collections + Decks - Services and DI architecture
Implemented with Repository Protocol pattern for offline fork support:
- CollectionService with PostgresCollectionRepository
- DeckService with PostgresDeckRepository
- DeckValidator with DeckConfig + CardService injection
- Starter deck definitions (5 types: grass, fire, water, psychic, lightning)
- Pydantic schemas for collection and deck APIs
- Unit tests for DeckValidator (32 tests passing)

Architecture follows pure dependency injection - no service locator patterns.
Added CLAUDE.md documenting DI requirements and patterns.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:27:14 -06:00
..
api Fix OAuth callback redirect and deps import 2026-01-28 00:17:27 -06:00
core Add engine validation script with attack_coin_status effect handler 2026-01-28 00:15:12 -06:00
data Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00
db Implement Phase 2: Authentication system 2026-01-27 21:49:59 -06:00
repositories Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00
schemas Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00
services Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00
__init__.py Add backend foundation with uv, Black, and pre-commit hooks 2026-01-24 00:12:33 -06:00
config.py Fix OAuth absolute URLs and add account linking endpoints 2026-01-27 22:06:22 -06:00
main.py Implement Phase 2: Authentication system 2026-01-27 21:49:59 -06:00