HealthTech - Pakistan
Apka Muaalij
Pakistan's comprehensive doctor booking and telemedicine platform.

- Cities
- 20+
- Specialties
- 100+
- Play Store
- 5-star
- Wallet Promo
- Rs. 250
Overview
A full-scale healthcare platform where patients can book in-clinic appointments, schedule video consultations, and discover doctors, hospitals, and labs from one interface. The system includes an Android app and shared API layer for web and mobile.
The challenge
- Aggregate thousands of doctor profiles with specialty and city filtering.
- Prevent concurrent slot collisions in real-time appointment booking.
- Maintain stable video consultation quality for users on slower mobile networks.
- Scale SEO-first dynamic routes for doctor, specialty, and location combinations.
The solution
- Implemented geospatial MongoDB indexes with route-level pre-rendering for doctor and city discovery.
- Built atomic slot locking in MongoDB to avoid double-bookings under concurrent load.
- Integrated adaptive WebRTC consultations through Agora for 3G/4G users.
- Created a WebP media pipeline and CDN-backed delivery for faster page performance.
- Shipped a React Native Android app with biometric authentication on the same backend.
- Implemented secure REST APIs with JWT authentication and role-based access control.
- Added WebSocket-powered real-time communication for appointment and consultation updates.
The impact
Digitized appointment discovery for a traditionally offline workflow and improved clinic acquisition with a smooth booking UX. The signup wallet incentive materially improved mobile conversion rates.
