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 β¦