How pringoottt/mikmik-store works
This is a browser-based shop-management and point-of-sale app. Its main workflow scans or searches products, builds a checkout cart, and records a sale; separate workflows manage inventory, customer credit and payments, and monthly revenue. The sampled JavaScript also shows camera/file/manual scanning, Supabase operations, and UI rendering. All sampled runtime behavior lives in index.js, so nodes share that path. The README is empty, and unsampled code limits evidence for some links, especially reporting and initial data loading.
Main entry points: index.js Product management
Components 13
Sales and checkout
- Code scanning
index.js - Checkout cart
index.js - Sale entry
index.js
Inventory
- Product management
index.js - Inventory view
index.js
Credit accounts
- Credit accounts
index.js - Credit payments
index.js - Monthly revenue
index.js
App and data
- App data state
index.js - Supabase
Other components
- Shop operator
- Device camera
- Html5Qrcode library
Connections 12
- Code scanning → Html5Qrcode library: starts scanner
index.js - Device camera → Html5Qrcode library: provides video
- Html5Qrcode library → Checkout cart: decodes for cart
index.js - Product management → Supabase: inserts products
index.js - Product management → Supabase: calls add_stock
index.js - Product management → Supabase: deletes products
index.js - Sale entry → Supabase: records sale
index.js - Credit payments → Supabase: inserts payment
index.js - Shop operator → Code scanning
- Shop operator → Product management
- Shop operator → Sale entry
- Shop operator → Credit payments