Afya HMS
One system for front desk, clinic, pharmacy, lab, and admin — so patient flow and billing are no longer a paper chase.
The problem
Staff were juggling paper files, spreadsheets, and verbal handoffs. Billing errors were common, queues were invisible, and nobody had a single picture of the hospital.
What I built
Afya HMS gives each role clear permissions and a live view of patients and money. It is built as a Laravel 11 modular monolith with a React/TypeScript PWA, MySQL, Redis, and live updates across branches.
What changed
Designed for 1,000–10,000+ concurrent users across branches. Duplicate entry goes away; administrators can see operations as they happen.
I chose a modular monolith over microservices because healthcare workflows are deeply connected. Splitting them early would have made the system harder to audit and harder to keep.
Laravel 11 · PHP 8.3 · React 18 · TypeScript · MySQL 8 · Redis · M-Pesa · PWA