Logo Lanfrica

QuameMeeky/pharmasos

Domain:

healthcaredigital infrastructure

Record type:

software
Creator:
Qua
Host:
Emergency pharmacy delivery PWA for remote areas in Ghana # πŸš‘ PharmaSOS β€” Emergency Pharmacy Delivery App A mobile-first Progressive Web App (PWA) that allows people in remote areas of Ghana to order emergency drugs and have them delivered by motorbike courier β€” even on a 2G connection. --- ## πŸ“± Features - **Emergency Drug Ordering** β€” Search by symptom or drug name - **GPS Location Detection** β€” Auto-detect or manually pin location - **Nearest Pharmacy Finder** β€” Matches user to closest stocked pharmacy - **Real-Time Order Tracking** β€” Received β†’ Packed β†’ Out for Delivery β†’ Arrived - **Mobile Money Payments** β€” MTN MoMo, Vodafone Cash, AirtelTigo - **SMS Fallback** β€” Order confirmation via SMS for low-data users - **Emergency SOS Button** β€” Instantly alert emergency contact with location - **Pharmacy Admin Dashboard** β€” Manage orders and update delivery status - **Offline Support** β€” PWA caching for browsing drugs without internet --- ## πŸ—‚οΈ Project Structure ``` pharmasos/ β”‚ β”œβ”€β”€ backend/ β”‚ β”œβ”€β”€ server.py # Flask server β€” all API routes and logic β”‚ β”œβ”€β”€ pharmasos.db # SQLite database (auto-created on first run) β”‚ └── requirements.txt # Python dependencies β”‚ β”œβ”€β”€ frontend/ β”‚ β”œβ”€β”€ templates/ # HTML pages (Jinja2 templates) β”‚ β”‚ β”œβ”€β”€ base.html # Shared layout, nav, header β”‚ β”‚ β”œβ”€β”€ home.html # Landing page with symptoms and nearby pharmacies β”‚ β”‚ β”œβ”€β”€ order.html # Drug search and order form β”‚ β”‚ β”œβ”€β”€ tracking.html # Live order tracking page β”‚ β”‚ β”œβ”€β”€ profile.html # User profile and medical info β”‚ β”‚ └── admin.html # Pharmacy admin dashboard β”‚ β”‚ β”‚ └── static/ β”‚ β”œβ”€β”€ css/ β”‚ β”‚ └── main.css # All styles β€” mobile-first, PWA-ready β”‚ β”œβ”€β”€ js/ β”‚ β”‚ β”œβ”€β”€ core.js # Shared utilities (toast, GPS, fetch helpers) β”‚ β”‚ β”œβ”€β”€ home.js # Homepage logic (symptoms, pharmacy list) β”‚ β”‚ β”œβ”€β”€ order.js # Order flow (drug search, cart, checkout) β”‚ β”‚ β”œβ”€β”€ tracking.js # Order …

Languages