How renancarlins/web-1 works
Kbona is a browser-based store-management and shopping app with local persistence and no backend. The main workflow is managing products and customers, assembling a cart, finalizing a sale, and viewing sales and dashboard totals. The sampled app.js shows these flows and the localStorage access; README capabilities such as search, filters, sorting, validation, combos, and installment simulation are documented but not verified in the sampled source, so their connections are omitted.
Main entry points: app.js App runtime · carrinho.html Cart page · index.html Dashboard · produtos.html Products page
Components 15
Page interfaces
- Dashboard
index.html - Products page
produtos.html - Customers page
clientes.html - Cart page
carrinho.html - Sales page
vendas.html
Store workflows
- App runtime
app.js - Product records
app.js - Customer records
app.js - Shopping cart
app.js - Sale finalization
app.js - Sales history
app.js - Dashboard metrics
app.js - Theme toggle
app.js
Local persistence
- localStorage
Other components
- Store user
Connections 25
- Store user → Dashboard: opens
README.md - Store user → Products page: manages
README.md - Store user → Customers page: manages
README.md - Store user → Cart page: shops
README.md - Store user → Sales page: reviews
README.md - App runtime → Dashboard: renders
app.js - App runtime → Products page: renders
app.js - App runtime → Customers page: renders
app.js - App runtime → Cart page: renders
app.js - App runtime → Sales page: renders
app.js - App runtime → localStorage: reads and writes
app.js - Dashboard → Dashboard metrics: shows
app.js - Products page → Product records: manages
app.js - Customers page → Customer records: manages
app.js - Cart page → Shopping cart: manages
app.js - Cart page → Sale finalization: finalizes
app.js - Sales page → Sales history: displays
app.js - Sale finalization → Shopping cart: reads and clears
app.js - Sale finalization → Product records: reads products
app.js - Sale finalization → Customer records: reads customer
app.js - Sale finalization → Sales history: records sale
app.js - Dashboard metrics → Sales history: reads totals
app.js - Dashboard metrics → Customer records: counts customers
app.js - Dashboard metrics → Product records: sums stock
app.js - Store user → Theme toggle: toggles
app.js