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> |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| scripts | ||
| alembic.ini | ||
| Dockerfile.dev | ||
| pytest.ini | ||
| README.md | ||
| requirements.txt | ||
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