Major Domo Database - PostgreSQL database service for SBA bot
Go to file
root 9cdefa0ea6 refactor: Extract services layer for testability
- Created BaseService with common patterns (cache, db, auth)
- Created PlayerService with CRUD, search, filtering
- Created TeamService with CRUD, roster management
- Refactored players.py router to use PlayerService (~60% shorter)
- Refactored teams.py router to use TeamService (~75% shorter)

Benefits:
- Business logic isolated in services
- Easy to unit test
- Consistent error handling
- Reusable across endpoints
2026-02-03 15:38:34 +00:00
.claude File cleanup 2025-10-25 20:17:02 -05:00
app refactor: Extract services layer for testability 2026-02-03 15:38:34 +00:00
migrations Add salary_cap column to Team model (v2.2.0) 2025-12-10 07:28:16 -06:00
scripts CLAUDE: Add --clean flag to production database sync 2025-10-23 16:52:42 -05:00
test-storage CLAUDE: Phase 1 PostgreSQL migration fixes complete 2025-08-18 18:09:45 -05:00
.dockerignore Adding Git and Docker files 2023-02-21 11:53:02 -06:00
.env Local migration fully functional 2025-08-20 09:52:46 -05:00
.gitignore Local migration fully functional 2025-08-20 09:52:46 -05:00
=2.9.0 CLAUDE: Phase 1 PostgreSQL migration fixes complete 2025-08-18 18:09:45 -05:00
CLAUDE.md Fix custom command creator POST validation (v2.3.1) 2025-12-13 16:31:47 -06:00
db_engine.py DB Error Handling 2025-08-20 19:33:40 -05:00
docker-compose.yml Add Redis Caching 2025-08-27 22:49:37 -05:00
Dockerfile Local migration fully functional 2025-08-20 09:52:46 -05:00
Dockerfile.optimized Postgres Query Updates 2025-08-25 07:19:13 -05:00
LICENSE Initial commit 2023-02-19 21:42:32 -06:00
main.py Merge pull request #2 from calcorum/api-rebuild 2023-07-24 23:06:53 -05:00
migrations.py Season 9 Additions 2024-01-14 22:44:23 -06:00
pd_master.db Logging updates 2024-12-16 09:03:23 -06:00
requirements.txt Add all-season player search endpoint 2026-01-23 14:26:16 -06:00
VERSION Bump version to 2.4.1 2026-01-28 16:07:27 -06:00