DawaMZ is a free app that helps you find pharmacies in Morocco. Whether you need a pharmacy open right now, an on-call pharmacy during the night, or one on duty over the weekend — DawaMZ has you covered. Simply select your city and instantly see which pharmacies are available, along with their address, phone number, and opening hours.
# DawaMZ — Mobile App
> Find the nearest open pharmacy in Morocco — right now.
This is the **mobile version** of DawaMZ, a multilingual pharmacy finder available across two platforms:
| Platform | Repo | Status |
| --------------------- | ---------------------------------------------------------- | --------------------- |
| 📱 Mobile (this repo) | dawamz-app | Live on Android & iOS |
| 🌐 Web (React + Vite) | dawamz-web | Live at dawamz.com |
Both platforms share the same Supabase backend — same data, same schedule logic, same multilingual content.
The mobile app handles the full native experience: GPS-based nearest pharmacy detection, interactive maps with turn-by-turn routing, offline-friendly UI, and dark mode — while the web version focuses on discoverability and SEO.
**Live:** Google Play Store
---
## How Data Gets Into the App
Pharmacy and on-call schedule data reaches Supabase through two complementary approaches:
### 🤖 Automated Scraping (Primary)
A private Python scraper runs automatically via GitHub Actions on a daily schedule. It collects up-to-date on-call pharmacy data — cities, pharmacies, and full details — and pushes everything directly to Supabase.
The scraper is kept private for security and privacy reasons, but its pipeline looks like this:
```
GitHub Actions (scheduled daily)
↓
scrapers/cities.py → collect all cities
↓
scrapers/pharmacies.py → for each city, collect pharmacies
↓
scrapers/details.py → for each pharmacy, collect full details
↓
parsers/pharmacy.py → clean and structure the data
↓
seeds/push.py → push to Supabase 🚀
```
This keeps the database fresh without any manual intervention.
### 🗺️ Manual Approach (Supplementary)
For pharmacies or cities not covered by the scraper, data can be added manually through direct Supabase inserts or via the in-app suggestion system, where users can submit missing pharmaci …