
Project
mari-wellness
Backend API behind the Mari Wellness mobile app and its management panel. It splits into two tiers over shared models: a public `api/v1` for the app and a separate `management` API for admins, each with its own views, serializers and permissions. The public side covers passwordless phone-OTP auth with Google and Apple sign-in, a nested product catalogue with customisations and combos, geo-sorted store discovery, cart and order lifecycle with promo codes, payment-gateway webhooks, a points-based loyalty programme and a juice-card scheme. The admin side adds per-store menus with copy-on-write overrides, Excel import for market items, QR scan-and-charge, live order boards, push campaigns and analytics.
Passwordless phone-OTP auth plus Google and Apple sign-in
Nested catalogue with customisation groups and combos
Copy-on-write per-store products - editing a linked item clones it store-side
Atomic order creation: promo validation, card deduction, points award and cart clear in one transaction
Denormalised order items so historical orders survive product changes
Payment gateway webhooks for local providers
Loyalty points, rewards and juice-card packs
QR scan, charge and redeem flows for staff
Automatic WebP image compression on upload
Push campaigns and dashboard analytics on background workers