Offline-first inventory/order/fulfilment web app with modular architecture.
inventory-app/appinventory-app/app/index.htmlapp/core/db.jsapp/core/repository.jsapp/core/eventBus.jsSUP001, BUY001, CMD001, ORD001, etc.)Open in browser:
inventory-app/app/index.html directly, orExample (Node static server):
npx serve inventory-app/app
app/core: DB abstraction, repository, helpers, event busapp/modules: feature modulesapp/ui/components: reusable vanilla UI componentsapp/services: validation and excel servicesapp/core/db.js (STORE_SCHEMAS + version bump).app/app.js.app/modules/<module> and initialize it in app/app.js.eventBus for refresh flows.The app already uses repository abstractions.
To replace IndexedDB:
GenericRepository implementation with API client methods.create, update, delete, get, getAll, queryByIndex).