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.
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
- Patients + providers
Appointments, services, and ordering
- Core healthcare API
Access, workflow state, and administration
- Wallets + payments
Funding, provider withdrawals, and transaction records
Supporting services
- Logistics API
Deliveries, riders, wallets, and payouts
- Notification workers
Reminders, email, push, and webhook delivery
- File uploads
Validated assets behind an S3 boundary
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.
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.
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.
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.
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.
Tools behind the work.
TypeScript · Node.js · Express · NestJS · MongoDB · Redis · BullMQ · Socket.IO · Paystack · AWS S3 · AWS SES · New Relic