How mash20000/makumishop works
Makumi is a browser-based shop: customers browse listed products, add items to a cart, and submit checkout details to create a locally recorded order. The shop also lets users add catalog products to the listing. These behaviors and persistence helpers share one JavaScript file; the excerpts show browser-local storage, but no server-side order processing or payment integration. Some wiring is unsampled, so the graph includes only relationships visible in the excerpts.
Main entry points: script.js Product Browsing
Components 8
Shopping
- Product Catalog
script.js - Product Browsing
script.js - Shopping Cart
script.js
Checkout and Orders
- Checkout
script.js - Order Records
script.js
Shop Management
- Product Listing
script.js
Browser Runtime
- Local Storage
Other components
- Customer
Connections 11
- Customer → Product Browsing: browses
script.js - Product Catalog → Product Browsing: renders
script.js - Customer → Shopping Cart: adds items
script.js - Product Browsing → Shopping Cart: adds products
script.js - Customer → Checkout: submits details
script.js - Shopping Cart → Checkout: provides items
script.js - Checkout → Order Records: creates order
script.js - Order Records → Local Storage: saves orders
script.js - Customer → Product Listing: adds products
script.js - Product Catalog → Product Listing: supplies choices
script.js - Product Listing → Local Storage: saves listing
script.js