DineFlow Docs

Workflows & Processes

End-to-end user flows for customers, staff, and admins

Customer flow (QR → Order → Checkout)

Admin flow (Process Orders)

Sequence: order creation

Error handling guidelines

  • Show toasts for transient failures (network, retries allowed).
  • Persist cart to localStorage to survive reloads.
  • Validate menu item mapping; abort with clear error if not found.
  • Guard protected routes with middleware and role checks.