Architecture tour

Follow one barcode scan and purchase action from the React UI through the Go API and SQLite and back.

Follow what happens when a household member scans a UPC barcode in Scan / Action to record a purchase.

1. Camera or HID barcode scan (web/src/components/ScannerDrawer.tsx)

2. Resolution and optional lookup (internal/api/workflows.go)

3. Recording the purchase (internal/api/workflows.go & internal/domain/)

4. Label printing and UI refresh (internal/printer/)

Run make test to execute the Go and Vitest suites covering every layer of this flow.

Version: v1.2.4 Edit this page on GitHub