Apple-inspired kitchen command center
由 recipe QA、食材庫存,到 receipt OCR import,一個乾淨 production webapp。
拆成真正多頁 HTML/CSS/JS structure,後端 API 同時接 dishes.db 同 ingredient_inventory.db。UI 走 Apple product page + native app panel 混合風格。
Receipt OCR
Dry-run import preview before any DB write.
Production structure
Three focused surfaces. Shared API + shared UI system.
Recipe QA
保留原本 SQL validator、FODMAP heuristic、duplicate review,同時變成獨立 production page。
Inventory Schema
直接讀 ingredient_inventory.db:ingredients、aliases、locations、batches、transactions、current_inventory view。
Receipt OCR Mock
Mock OCR → ingredient matching → dry-run batch/transaction inserts preview,之後可換真 OCR provider。