← Back to Engineering
AI / ML 2026

Afyalink

Offline-leaning hospital service finder that lists facilities and available services by location across Dar es Salaam, Pwani, and Morogoro.

Role

Full-stack engineer

Focus

MUHAS Local AI Buildathon

Stack

PHP, PostgreSQL, local AI

Afyalink hospital finder interface

Story behind the project

Built for the MUHAS Local AI Buildathon 2026 under the theme Local AI, Local Solutions, Local Impact. The goal was practical health navigation – not replacing clinicians.

Problem statement

People need to know which nearby hospitals currently offer which services. Scattered facility data and unclear availability make that hard in real time.

What was built

Afyalink imports real operating facilities from the MOH HFR portal, stores them in PostgreSQL, and surfaces location-aware availability of services for hundreds of facilities including major referral hospitals.

  • 344+ real operating facilities imported from MOH HFR data
  • Coverage for Dar es Salaam, Morogoro, and Pwani
  • Service availability oriented around current facility status
  • PHP + PostgreSQL stack with API key–backed AI assist hooks

Tech used

Core tools and decisions that shaped the implementation.

PHP 8 PostgreSQL Apache / XAMPP MOH HFR data OpenRouter API

Source & next steps

Full code, setup notes, and ongoing work live on GitHub. Open the repository to review architecture, run locally, or fork the approach.

Need a similar system?

Tell me about the problem – we can map stack, scope, and delivery.

Contact