Spaces:
Sleeping
Sleeping
Commit History
-
feat(backend): replace backend with peter branch + Emergency Care integration
Full overwrite of mdn-backend-main with the ISP peter branch (Laravel 12, PHP 8.3, clean domain architecture). Key changes: - New domain structure: Applications, Care, Communications, Config, Contracts, Files, Identity, Investments, Memberships, Payments, Products, RealEstate - MembershipPolicy with RBAC canAccess/canManage - CareEnrollmentService with DRAFT→SUBMITTED→ACTIVE state machine - PaymentService wired to PaymentGatewayRegistry (STRIPE, KCB_BUNI, MANUAL_TEST) - ProductRequestService + ProductEntitlementService for care/investment gating - Emergency Care module preserved and integrated on top of new domain base - Emergency Care migrations renumbered to 2026_07_07 to avoid timestamp conflict - All Emergency Care routes added to new api.php (client + admin + webhook) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>6773345