Typesetting…
Typesetting…
Case study
Telemedicine platform · Sole engineer
Abstract
A telemedicine platform for Kenya. Patients book chat and video consultations with KMPDC-verified doctors and reach trained peer navigators; doctors run their queue from a mobile app or a web workstation; administrators verify clinicians, publish health content and handle grievances.
Keywords — Rust · Axum · PostgreSQL 16 · Redis · Flutter · Next.js · Agora RTC · Docker
Table 1 · At a glance
Captured from Android builds with test accounts. Tap a screen to view it full size.
Doctor Web uses labelled preview fixtures; Admin captures come from the local development stack.
Doctor Web dashboard
Doctor Web: Doctor Web dashboard. Today's queue, the next consultation and earnings shown as gross, 20% platform charge and net. Sample fixture data.
| Surface | Stack | Users |
|---|---|---|
| Patient app | Flutter (Android, iOS) | Patients and their dependants |
| Care app | Flutter (Android, iOS) | Doctors and peer navigators |
| Doctor Web | Next.js + TypeScript (backend-for-frontend) | Doctors at a workstation |
| Admin Web | Next.js + TypeScript (backend-for-frontend) | Platform administrators |
| Public website | Static HTML/CSS/JS | Public and legal pages |
| Core API | Rust, Axum, Tokio, SQLx | All of the above |
Everything runs as a six-service Compose topology on a single VM. The backend applies pending migrations on start, and design decisions are recorded as architecture decision records in the repository.
Measured on a 4 vCPU / 8 GB stack with 10,000 synthetic patients: 250 requests per second sustained at a p95 of 23 ms, a 65-minute soak with zero server errors, and controlled load shedding with Retry-After under a 5× spike.
AfyaMkononi's public website, with the service overview and legal pages.
Visit afyamkononi.app ↗All six surfaces, migrations, deployment files, runbooks, ADRs and the performance assurance pack. No open-source licence is granted; all rights are reserved.
View GitHub repository ↗