TorbatYar/backend/services/sports_center
Mortezakoohjani 5c6a2e78cf feat(platform): seed service registry, deploy all modules, and fix homepage catalog.
Register all active platform services and base features in core DB so admin can manage them, add delivery/hospitality/sports-center backend phases, update apps catalog and production deploy tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 12:39:51 +03:30
..
alembic feat(platform): seed service registry, deploy all modules, and fix homepage catalog. 2026-07-27 12:39:51 +03:30
app feat(platform): seed service registry, deploy all modules, and fix homepage catalog. 2026-07-27 12:39:51 +03:30
scripts feat(platform): seed service registry, deploy all modules, and fix homepage catalog. 2026-07-27 12:39:51 +03:30
alembic.ini Sync platform docs, infra, and module services with Accounting integration. 2026-07-25 22:35:23 +03:30
Dockerfile.dev Sync platform docs, infra, and module services with Accounting integration. 2026-07-25 22:35:23 +03:30
pytest.ini Sync platform docs, infra, and module services with Accounting integration. 2026-07-25 22:35:23 +03:30
README.md feat(platform): seed service registry, deploy all modules, and fix homepage catalog. 2026-07-27 12:39:51 +03:30
requirements.txt Sync platform docs, infra, and module services with Accounting integration. 2026-07-25 22:35:23 +03:30

Sports Center Platform Service

Independent enterprise microservice for generic sports center operations.

  • Phase: 9.7 Competition & Event Management
  • Version: 0.9.7.0
  • Database: sports_center_db (sole owner)
  • API port: 8006
  • Permission prefix: sports_center.*
  • ADR: ADR-014

Ownership

Sports Center owns only sports business aggregates (centers, branches, sports catalog, membership catalog, members, membership assignment, cards/waivers/documents, coaches shell, facilities, devices, connector contracts, configuration, audit).

It must not own Accounting, CRM, Loyalty, Communication, Notification, Storage, Identity, AI, Automation, or Customer360 — consume those via API + Events only.

Architecture

  • Database-per-service (ADR-001)
  • Row-level multi-tenancy via tenant_id (ADR-003)
  • Adapter-based connector framework (no vendor logic in business services)
  • Generic sport model — no sport-specific business rules hardcoded

Docs