How bisniscuan01/pawonboga works
PawonBoga is a browser-only product catalog and management dashboard for small food-and-drink businesses. Users browse, search, filter, and sort products, then can follow an in-stock product’s WhatsApp order link; dashboard users can validate and manage products, view stock statistics, and import or export JSON. Product data is loaded from and saved to localStorage, with sample-data recovery for invalid stored data. The graph separates the UI, application coordination, and data responsibilities; edges reflect the shown calls or README-documented behavior. No backend or authentication is present.
Main entry points: main.js App coordinator · ui.js Product cards · store.js Product persistence · products.js Sample products
Components 15
Catalog experience
- Catalog filtering
src/store.js - Product cards
src/ui.js - WhatsApp links
src/ui.js
Product management
- App coordinator
src/main.js - Dashboard view
src/main.js - Product validation
src/store.js - Product CRUD
src/main.js - Stock statistics
src/ui.js - JSON import/export
src/main.js
Product data
- Import validation
src/store.js - Product persistence
src/store.js - Sample products
src/products.js
Other components
- Shopper / owner
- Browser localStorage
Connections 16
- Shopper / owner → App coordinator: uses
README.md - App coordinator → Catalog filtering: filters products
src/main.js - App coordinator → Product cards: renders catalog
src/main.js - App coordinator → Dashboard view: switches views
src/main.js - App coordinator → Product validation: validates input
src/main.js - App coordinator → Product CRUD: handles changes
src/main.js - App coordinator → Stock statistics: renders stats
src/main.js - App coordinator → JSON import/export: handles transfer
src/main.js - JSON import/export → Import validation: parses import
src/main.js - App coordinator → Product persistence: loads and saves
src/main.js - Product persistence → Browser localStorage: reads and writes
src/store.js - Product persistence → Sample products: restores samples
src/store.js - Import validation → Product validation: validates products
src/store.js - Product cards → WhatsApp links: renders action
src/ui.js - WhatsApp links → WhatsApp: opens order link
src/ui.js - Product cards → Sample products: uses categories
src/ui.js