Rela Express
Coordinating delivery, courier verification, and financial operations across Nigeria and the United Kingdom.
Visit Rela Express (opens Rela Express website in a new tab)I built the core backend, real-time delivery coordination, country-aware onboarding, payment flows, and background workers.
How the parts connect.
Delivery operations and courier eligibility meet at the courier network. Onboarding follows country and vehicle policy, with external evidence and a human approval gate.
Delivery operations
- Customer request
Delivery details, pricing, and payment
- Dispatch + coordination
MongoDB geospatial matching, Redis, and Socket.IO
- Courier network
Conditional acceptance and delivery state
Identity and trust
- Country + vehicle policy
Market-specific onboarding requirements
- Verification evidence
VouchSafe, DVLA, Interswitch, and QoreID
- Administrative approval
Review, audit history, and an eligibility gate
The problem and the product.
Rela Express connects customers, couriers, pricing, payments, and administration in a multi-market delivery platform. Dispatch depends on both operational availability and whether a courier has completed the appropriate verification process.
My contract ran from December 2025 to June 2026. The repository also contains subsequent contributions; the engineering discussion describes the system without extending that employment period.
My role and ownership.
- Built NestJS APIs for delivery operations, customer and courier access, onboarding, pricing, wallets, payments, and administration.
- Implemented real-time coordination with MongoDB, Redis, and Socket.IO, alongside a separate BullMQ worker service.
What made the work difficult.
- Verification requirements vary by market and vehicle type. External checks provide evidence, while an administrator still owns the final approval decision.
- Multiple couriers may respond to the same delivery, and payment callbacks or background jobs can arrive more than once.
What mattered technically.
Country-aware verification
Resolved courier onboarding requirements from country and vehicle policy. Integrated VouchSafe and DVLA for UK evidence, and Interswitch and QoreID for Nigerian identity and vehicle checks.
Human-in-the-loop approval
Kept provider evidence separate from approval. Validation, rejection reasons, resubmission, and the final account approval gate remain explicit administrative steps.
Race-safe delivery
Combined geospatial courier matching, Redis-backed Socket.IO coordination, and conditional MongoDB updates so only one courier can claim an available delivery.
Recoverable financial workflows
Connected Stripe and Paystack events to internal transactions, wallet and ledger updates, refunds, and payout workflows. Repeated events are handled through idempotency boundaries.
Dedicated background work
Separated email, WhatsApp, push, reminders, document-expiry checks, and delivery Live Activities into BullMQ workers with validation, retries, and failure handling.
Correctness beyond the happy path.
- Session controls, rate limiting, scoped administrative permissions, and bounded OTP challenges protect operational access.
- Onboarding actions carry review status and audit history so provider evidence and human decisions remain traceable.
- Worker logging and New Relic instrumentation make asynchronous failures inspectable.
What the work made possible.
- Explicit market policy and approval states make onboarding reviewable while keeping courier eligibility connected to delivery operations.
Tools behind the work.
TypeScript · Node.js · NestJS · MongoDB · Redis · BullMQ · Socket.IO · AWS S3 · Stripe · Paystack · New Relic