Logo Lanfrica

Mohammed-Zaouk/DawaMZ-web

Domaine:

healthcare

Type de record:

software
Créateur:
Moh
Hôte:
Find open pharmacies in Morocco — directly from your browser. Browse by region and city to see which pharmacies are available right now, with address, phone number, and opening hours. # DawaMZ — Web > Find the nearest open pharmacy in Morocco — right now. This is the **web version** of DawaMZ, a multilingual pharmacy finder available across two platforms: | Platform | Repo | Status | | ------------------------------- | ---------------------------------------------------------- | --------------------- | | 📱 Mobile (React Native + Expo) | dawamz | Live on Android & iOS | | 🌐 Web (this repo) | dawamz-web | Live at dawamz.com | Both platforms share the same Supabase backend — same data, same schedule logic, same multilingual content. The web version focuses on discoverability (SEO, shareable pharmacy URLs) while the mobile app handles the full native experience. **Live:** dawamz.com --- ## 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 built-in suggestion system, where users can submit missing pharmacies directly from the website. --- ## Stack | Layer | Ch …