Berkay Bakaç

← Back to the map

Case study · Devices · full stack

Restaurant Order Pickup

A restaurant counter system that carries one pickup number from the till to the receipt, the screens and the call over the music.

Even when the internet drops, the cashier must be able to take an order and the customer must see and hear the same number that’s on the receipt.

orders recorded at one restaurant
15,000+
days the order service had run at the field check
100+
engineer for the Pi, till and field support
Sole

Stack: Raspberry Pi · Node.js · TypeScript · React · SQLite · WebSocket · Electron · Windows

One order on the local network

I put the order service on a Raspberry Pi at the restaurant. The Windows till sends it the order and prints the accepted ticket over the LAN. The Pi serves the staff board, pickup screen and LED panel. It also plays the numbered call over the music.

SQLite reserves the next number for the restaurant’s local calendar day and saves the ticket and its first event together. Only after that commit does the Pi broadcast the order. Both receipts use the number it accepted.

The staff board groups tickets by status while the pickup screen and LED panel show the corresponding numbers.
Staff and customer views of the same test orders.

What happens when staff mark an order ready

The service saves the ready time, status event and pickup call in one transaction. The audio worker takes a waiting call, fades the music and checks that the ticket is still ready before playing the number.

Staff can undo a ready ticket while the call is waiting. The queue then withdraws the call. If the number is already audible, it can finish. I checked the fade by listening to the shared speaker on site.

A lost reply, a failed receipt or a missed call

When…How the counter recovers
The till loses the order replyIt can retry the saved order with the same request ID and recover the accepted ticket number.
The printer failsThe cashier can reprint the accepted ticket without entering a new order. If the first job reached the printer, an extra copy can come out.
The pickup screen loses its WebSocket connectionIt polls while disconnected and fetches a fresh order list on reconnect.
Power fails during a pickup callStartup can retry an eligible call once if the ticket is still ready. The customer may hear part or all of the number again.

The LED panel needed its own page

The panel’s browser struggled to start React. I traced its startup and tested a standalone page on the actual panel. It polls the Pi and briefly highlights newly ready numbers. That leaves me with two layouts to maintain, but the panel can do the one job customers need from it.

I work with the staff, verify the hardware on site and own support. I review every change and decide when the till and the Pi are ready to ship.

What the counter recorded

The retained records cover 15,000+ orders from April to November 2026. Excluding cancellations, October handled about two and a half times May’s volume. At the November check, the order service had been running for over a hundred days.

The field read could not identify the installed revision, so the behavior described above is that of the reviewed release candidate. Older queue records could mark a disabled or silent call as played, so I use the order records to measure volume. The field results give the dates and scope of each measure.