Logo Lanfrica

Mohammed-Zaouk/DawaMZ

Domain:

healthcaredigital infrastructure

Record type:

software
Creator:
Moh
Host:
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 …