Backend Notes (MVP Readiness)
High-Level Takeaways
- Authentica OTP integration is implemented; Moyasar capture/refund are TODOs.
- External calls (OTP, notifications, payment gateway) run synchronously in request/response paths, increasing latency risk.
- Cross-app coupling (bookings ↔ notifications ↔ accounts/payments) will get harder to evolve without clearer service boundaries.
- Phone-first auth is in place with
USERNAME_FIELD = "phone_number", but endpoint/admin/domain alignment is still incomplete and needs hardening.
Near-Term Focus
- finalize otp testing
- work on authentication and complete it