--- title: "Orderhatch: online ordering and a kitchen display for a taqueria" author: "@chris" author_url: https://elements.dev/users/chris published: 2026-09-30T21:51:18.445Z url: https://elements.dev/demos/1dvib1qm/orderhatch-online-ordering-and-a-kitchen-display-for-a kind: post format: article --- # Orderhatch: online ordering and a kitchen display for a taqueria by [@chris](https://elements.dev/users/chris) ยท 2026-09-30 ## Description A photo menu, card checkout and a live order status page, plus a kitchen board with ticket timers and sold-out toggles. Orderhatch needed card checkout, a kitchen board that fills as orders are paid, a live status page for each customer, email receipts, and sold-out items that update on every screen. Each of those is a part of Elements, so the agent spent its 28 minutes on the taqueria app itself. **What Elements gave the app** - **A live kitchen board.** Orders are a LiveTable, so a paid order appears on the kitchen display the moment it lands, a tap moves the ticket between columns, and the customer's status page moves from received to preparing to ready with it. - **Live sold-out items.** The menu is a LiveTable too. Kitchen staff mark an item sold out, it comes back at the end of the business day, and every customer's menu shows it at once. - **Card checkout.** Placing an order is one `@rpc` call that prices the cart on the server, holds the order off the board and sends the customer to Stripe. The order moves to the kitchen once whether the return page or Stripe's webhook arrives first. Without a Stripe key, a test checkout inside the app records the payment through the same function, and production registers its own webhook. - **Email receipts.** The payment and the receipt job are recorded in one transaction, and the job emails the receipt. - **Data from SQL files.** Migrations define the app and seed the owner, a staff account, twenty items in five categories with photos and options, opening hours, and a lunch rush of seventeen orders timed from when the seed runs. - **Sessions and roles.** Kitchen pages check for staff and the owner's pages check for the owner. **What the project server gave the agent** The project server runs alongside the agent and answers as soon as a file is saved: it type-checks the templates, TypeScript and SQL, applies migrations and reruns the tests, so every question came back right away and the agent kept building. **What shipped** The app type-checks with zero errors and all 29 tests pass. Every page works on desktop and phone. A real sandbox payment went through Stripe end to end.