Labika | Islamic Pilgrimage by Proxy Platform
A dedicated pilgrimage-by-proxy platform connecting seekers with verified performers in Mecca, featuring step-by-step ritual verification and secure escrow payments.
Zero ledger discrepancies across Bank, PayPal, and Crypto payout rails
Modular ecosystem consisting of Backend API, Operations Dashboard, and Marketing Web
Sequential verification across Ihram, Tawaf, Sa'i, and Haircut milestones
01: Operational Challenge & Concurrency Bottleneck
I architected and built the three-tier system: the core API engine, the administrative governance dashboard, and the public web portal.
Arranging Umrah on behalf of elderly, ill, or deceased family members (Badal Umrah) often lacks trust, ritual verification, and payment protection. Seekers have no clear proof that rites are fulfilled correctly, while performers face payment delays across international borders.
Preventing race conditions during simultaneous payout withdrawals and payment webhooks, and preventing fraudulent instant ritual completions without blocking database transactions.
I engineered a pessimistic-locked transaction model that transitions funds through five distinct balance states (escrow hold, pending earnings, locked disbursement, available balance, platform fee). I paired this with a time-gated ritual state machine requiring minimum duration thresholds and media proof before releasing escrowed funds.
Core Subsystem Modules & Domain Isolation
Multi-Partition Escrow & Wallet Ledger
Pessimistic locking and transactional accounting (Available, Locked, Pending, Converted, Refund) guaranteeing zero double-spending during payouts.
Time-Gated Ritual Progression State Machine
Sequential validation engine enforcing prerequisite checks, duration minimums, and media proof uploads for each sacred pillar.
Real-Time Chat & Presence Mesh
WebSocket gateway with multi-device socket mapping, localized profanity filtering, and automated ritual milestone event insertion.
Notification Worker
Worker queue with exponential backoff handling push notifications, SMS OTP pipelines, and payment expiration tasks.
Architectural Capabilities & Engineered Workflows
Performer Matching
Allows verified pilgrims in Mecca to accept requests with custom schedules.
Four-Stage Ritual Verification
Requires photo and video milestones at each sacred pillar before moving forward.
Escrow Payment Ledger
Holds funds securely and releases payouts only after full verification.
Multi-Rail Disbursements
Processes payouts through bank transfers, digital wallets, and payout rails.
Direct Chat & Milestone Updates
Keeps seekers and performers connected with real-time progress updates.
Automated Reminders
Dispatches scheduled notifications and verification prompts to performers.
System Topology & Architectural Data Flow
Marketing Landing Portal
Bilingual Next.js 16 web portal with onboarding flow and clear ritual explanations.
Admin & Operations Dashboard
Operations portal for Umrah request oversight, chat moderation, and payout approvals.
Core API & WebSocket Server
NestJS application managing JWT/RBAC auth, ritual state machines, and payment webhook listeners.
BullMQ Queue Workers
Distributed Redis queue processing push notifications, SMS OTPs, and scheduled expiration jobs.
Database, Ledger & Object Storage
ACID-compliant MySQL relational store, Redis session cache, and S3 media storage.
Production Technology Matrix & Ecosystem
A centralized commerce operations hub that connects online storefronts, inventory, payment collection, and regional shipping couriers across the Middle East.
A high-performance real estate discovery platform featuring interactive geospatial mapping, property filtering, and automated lead routing for regional brokerages.
Next Steps & Technical Inquiries
Looking for a systems architect or full-stack engineer for your next high-throughput platform? Let's discuss architecture and technical requirements.