- Years
- 2025 to now
- Role
- Senior Team Lead Engineer
- Scope
- Lead across backend, frontend, cloud
TAQRIR
Saudi EMS patient care record platform
Electronic patient care records for ambulance operators in Saudi Arabia, with dispatch, live crew tracking and NPHIES insurance billing. It replaced paper. Field capture, medical director review, a locked legal record and admin export now run as one loop, hosted in Dammam.
- 7,600+JSON validation rules, shared by frontend and backend
- 21tables under PostgreSQL row-level security
- 35+NestJS modules, 62+ Prisma migrations
- 1,000+pull requests on each repo
- Built offline-first mission capture: IndexedDB drafts, an ordered sync queue, offline login with PBKDF2 and AES-GCM. Found and fixed the iOS 7-day storage eviction gap.
- Auth with refresh-token family rotation and reuse detection, plus an OAuth 2.0 server for a national health partner.
- Kept every byte in the Kingdom: self-hosted map tiles on Cloud Run, logging moved to Dammam, third-party keys optional so no build fails.
- Wrote the Ministry of Health security questionnaire, PDPL and NCA answers, and an on-prem HA server design.
NestJS 11 / Prisma 7 / PostgreSQL / Next.js / PWA / GCP Cloud Run / Cloud Armor / FHIR R4
