Analytics for a national drug-regulation programme in Iraq: label printing, inspections, lab tests, import approvals and revenue, in Arabic and English, on desktop and phone.
Frontend developer · built from scratch
Blurred on purpose: client work under NDA
A map of scans clustered by governorate
Label exports month by month
The top ten countries of origin
A fly-to chip for each of the 18 governorates
Rejected requests at each workflow stage
Results by status
1440 px
3907681440
Blurred on purpose: client work under NDA
A map of scans clustered by governorate
01 / 07
Overview
What it is
Gudea is a drug-regulation platform in Iraq, and this is its analytics side: six dashboards for label printing, the drug catalogue, health inspectors' reports, lab tests, import and customs approvals, and revenue, each behind its own permission. I built the frontend from the first commit, Arabic first with English, dark mode, a separate phone layout and a clustered map of Iraq, and wired it to the live API.
Label exports month by month
02 / 07
What it does
Label printing
Label printing: labels exported and printed, batches and labels still on the presses, and label exports month by month.
How I built it
Per-tab TanStack Query calls gated by permission, with a sequential background prefetch
The top ten countries of origin
03 / 07
What it does
The registered drug catalogue
The drug catalogue: registered items, factories and countries of origin, items updated per day, and the top ten countries of origin.
How I built it
A reverse map that turns the API’s Arabic labels and Latin governorate names into translation keys
A fly-to chip for each of the 18 governorates
04 / 07
What it does
Scans clustered by governorate
The map opened full size: zoom and fullscreen controls, clusters that split as you zoom in, a fly-to chip for each of the 18 governorates, and a live zoom and position readout.
How I built it
MapLibre GL clustering drawn as HTML pins, with fly-to chips and a full-size view
Rejected requests at each workflow stage
05 / 07
What it does
Import approvals and customs release
Transaction status: registered accounts, import-approval and customs-release requests, and the pending and rejected requests at each workflow stage.
Results by status
06 / 07
What it does
Lab tests and the conformity rate
Drug control: lab tests, conforming results and the conformity rate, tests per month, and results by status.
How I built it
Arabic-first RTL with i18next, Latin digits and localised compact units
1440 px
3907681440
07 / 07
What it does
A separate phone shell
On a phone the app is its own shell: a pill switcher for the dashboards, two-column cards, and a bottom tab bar with a raised home button.
How I built it
Flash-free theming with a View Transitions reveal, a text-size control, and a PWA update prompt