Counter staff and waiters needed consistent records across the web application, local printing devices and cloud storage. Orders, bills and later corrections had to remain understandable even when one part of the system was unavailable.
02 / My contribution
Across the interface and the system.
I worked across the staff interface, APIs, business records, and local printing workflow. That included order and billing behavior, durable device jobs, reporting, and corrections that retain their audit history.
Made for Restaurant administrators, waiters and counter staff.
03 / A closer look
Follow the order. Keep the record.
In the workshop’s local model, create a fictional print job, reconnect an offline printer and retry the same job. It does not contact a restaurant or real printer.
IllustrationIllustrative system map. Client identity and operational data are withheld.
04 / The decisions
The thinking underneath.
01
Preserve the bill as it was issued
Invoice identity and customer details are retained as historical snapshots. Later changes to customer settings should not silently rewrite a previously issued bill. Cashbook corrections retain the original entry in the audit history.
02
Give device work its own lifecycle
Local printing is separated from browser requests through a counter hub and durable queues. Synchronization and retry behavior are handled explicitly rather than assuming the browser, printer and cloud are always available together.
03
Redeem a coupon with the completed bill
A scanned QR coupon can be attached during billing, but redemption is tied to successful invoice creation. This keeps an interrupted billing attempt from consuming the customer's coupon.
05 / The result
What the software makes possible.
Staff can create orders, generate kitchen tickets and bills, and work with hospitality records.
QR coupon attachment and redemption follow the successful billing transaction.
Administrators can export reporting packs and correct cashbook records while retaining an audit trail.
06 / The boundaries
Built within real constraints.
Existing business records and invoice numbering had to remain intact during changes.
Printer availability and cloud database availability are separate operational concerns.
Reporting exports support business review; no compliance certification or current uptime claim is made.
The tools
A stack chosen for the work.
Next.js
React
TypeScript
Hono
TanStack Query
Drizzle
PostgreSQL
PDF-lib
ExcelJS
Next on the workbench
What are you imagining?
Tell me what you want to make, who it is for, and where you are getting stuck.