SYSTEM / 02

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.

ROLEFullstack Engineer · Contract
PERIODDec 2025—Jun 2026 · Contract
ARCHITECTUREEvent-driven / Distributed
ARCHITECTURE / AT A GLANCE

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

  1. Customer request

    Delivery details, pricing, and payment

  2. Dispatch + coordination

    MongoDB geospatial matching, Redis, and Socket.IO

  3. Courier network

    Conditional acceptance and delivery state

Identity and trust

  1. Country + vehicle policy

    Market-specific onboarding requirements

  2. Verification evidence

    VouchSafe, DVLA, Interswitch, and QoreID

  3. Administrative approval

    Review, audit history, and an eligibility gate

01 / CONTEXT

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.

02 / ROLE & OWNERSHIP

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.
03 / CONSTRAINTS

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.
04 / ENGINEERING DECISIONS

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.

05 / RELIABILITY & SECURITY

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.
06 / OUTCOMES & LESSONS

What the work made possible.

  • Explicit market policy and approval states make onboarding reviewable while keeping courier eligibility connected to delivery operations.
07 / TECHNOLOGY

Tools behind the work.

TypeScript · Node.js · NestJS · MongoDB · Redis · BullMQ · Socket.IO · AWS S3 · Stripe · Paystack · New Relic

← ALL SELECTED SYSTEMS