How bader8110/safa-makkah-kuwait works
Safa Makkah Kuwait is an Arabic, right-to-left demo storefront that runs entirely in the browser. Shoppers browse products, build a cart, enter delivery details, and create a demo order; they can then track it locally. The app also presents delivery estimates, mosque-supply requests, repeat ordering, account and admin demos, and WhatsApp message preparation. The sampled code is a single large app.js file; these components describe its responsibilities, not separate modules. Source excerpts do not show the full checkout or page wiring, so those links are limited to documented behavior.
Main entry points: app.js Storefront UI
Components 11
Shopping
- Storefront UI
app.js - Product catalog
app.js - Shopping cart
app.js
Orders and delivery
- Checkout
app.js - Order tracking
app.js - Delivery estimates
app.js - Mosque supply
app.js
Account and support
- Account and admin
app.js - Browser storage
Other components
- Shopper
Connections 13
- Shopper → Storefront UI: uses
app.js - Storefront UI → Product catalog: shows products
app.js - Storefront UI → Shopping cart: adds items
app.js - Storefront UI → Checkout: opens checkout
app.js - Storefront UI → Order tracking: starts tracking
app.js - Storefront UI → Delivery estimates: selects region
app.js - Storefront UI → Mosque supply: prepares request
app.js - Storefront UI → Account and admin: opens panels
app.js - Checkout → Browser storage: stores demo data
README.md - Order tracking → Browser storage: reads local data
app.js - Account and admin → Browser storage: reads and saves
app.js - Mosque supply → WhatsApp: prepares message
app.js - Shopping cart → WhatsApp: prepares message
app.js