SYSTEM / 05

MyDocki

Connecting care, providers, ordering, payments, and fulfilment through a shared healthcare platform.

Visit MyDocki (opens MyDocki website in a new tab)

I led backend engineering across patient and provider workflows, wallets, payouts, and asynchronous communication.

ROLELead Backend Engineer · Contract
PERIODSep 2024—Feb 2026 · Contract
ARCHITECTUREModular / Queue-backed services
ARCHITECTURE / AT A GLANCE

How the parts connect.

The core healthcare API coordinates patients, providers, and administration. Logistics, queued communication, and file storage are separate supporting services.

Care and commerce

  1. Patients + providers

    Appointments, services, and ordering

  2. Core healthcare API

    Access, workflow state, and administration

  3. Wallets + payments

    Funding, provider withdrawals, and transaction records

Supporting services

  1. Logistics API

    Deliveries, riders, wallets, and payouts

  2. Notification workers

    Reminders, email, push, and webhook delivery

  3. File uploads

    Validated assets behind an S3 boundary

01 / CONTEXT

The problem and the product.

MyDocki brings patients, doctors, pharmacies, laboratories, hospitals, and meal providers into a connected healthcare experience. The backend coordinates access, appointments, ordering, wallets, and administrative review.

My Lead Backend Engineer contract ran from September 2024 to February 2026. Additional repository work in 2026 extends the platform with logistics, file-upload, notification, and payment-processing capabilities described here.

02 / ROLE & OWNERSHIP

My role and ownership.

  • Led the TypeScript, Express, and MongoDB healthcare backend across patient, provider, and administrator journeys.
  • Built wallet creation and funding, multi-currency transaction handling, provider withdrawals, Paystack payouts, and notification processing.
  • Additional 2026 work includes a NestJS logistics service, dedicated upload handling, webhook workers, scheduled deliveries, and payment-event recovery.
03 / CONSTRAINTS

What made the work difficult.

  • Patient, provider, administrator, and rider workflows have different permissions and state transitions.
  • Appointments, order cancellations, wallets, and payouts need consistent outcomes when callbacks or queued jobs repeat or fail.
04 / ENGINEERING DECISIONS

What mattered technically.

Separated operational boundaries

Separated the core healthcare API from logistics, notification workers, and file-upload handling. Each workload has its own service boundary rather than sharing one request lifecycle.

Wallets and provider payouts

Connected patient funding, multi-currency wallets, provider withdrawal requests, and Paystack payout processing to internal transaction records and user notifications.

Failure-aware messaging

Used BullMQ for email, WhatsApp, push, appointment reminders, cancellations, scheduled payments, and webhook processing. Workers include validation, retries, and dead-letter handling.

Fulfilment and payment events

Extended logistics with rider wallets, payout requests, scheduled delivery, and Paystack integration using an outbox. Core payment work also includes event handling and recipient recovery.

Operational traceability

Added structured worker logging, monitoring, push-receipt verification, and administrative activity notifications so operations can follow work beyond the initial API response.

05 / RELIABILITY & SECURITY

Correctness beyond the happy path.

  • Redis-backed rate limits, authentication, request validation, and signed webhook boundaries protect service entry points.
  • Transactions, duplicate-event handling, retries, and explicit payout states support recoverable financial workflows.
  • Upload handling validates file types before writing assets to S3.
06 / TECHNOLOGY

Tools behind the work.

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

← ALL SELECTED SYSTEMS