Restaurant management system
Wenu
An ordering system for restaurants and cafés: waiter, kitchen and till in one chain. At Webase I built its backend and the desktop apps for Windows.
- Period
- 2025
- Role
- Backend and desktop
- Workstations
- 3
- Windows apps
- 3
My contribution
- 01
Backend for the restaurant workflow: halls and tables, take-away and delivery, service charge, limited portions.
- 02
Routing dishes to kitchen stations: each member of staff sees only their own product groups.
- 03
Device-bound PIN sign-in for shared terminals.
- 04
A SignalR hub, push through Firebase, and a SOCKS5 proxy to reach Firebase.
- 05
A touch WPF terminal for waiters and cooks: tables, menu, kitchen board.
- 06
A receipt-printing app for the till: a thermal printer driven by ESC/POS.
Stack
- C#
- .NET 8
- ASP.NET Core
- PostgreSQL
- WPF
- SignalR
- EF Core
- Firebase Cloud Messaging
- ESC/POS
(03) — Product
From the floor to the kitchen, one chain.
Wenu is Webase’s system for restaurants and cafés. A waiter enters the order at the table, the cook sees it on the kitchen screen, and the till closes the bill and prints the receipt.
It is built on top of Webase’s existing ERP platform. My part was two things: the backend for the restaurant workflow and the desktop apps for Windows.
(04) — How it works
The path of one order.
- 01
Sign-in
One terminal, many staff. Everyone signs in with their own 4-digit PIN, which is tied to that particular device.
- 02
The table
The waiter picks a hall and a table. Each table shows its state: free, dishes pending, or everything ready.
- 03
The order
Dish, quantity and a note are picked from the menu. Saving the order reduces the remaining limited portions and adds the service charge by itself.
- 04
The kitchen
Each dish becomes its own ticket and appears only on the screen of the station that cooks it: New → In progress → Ready. After 15 minutes a ticket moves to the Overdue column.
- 05
The bill
The till opens the table’s order, chooses the payment type and prints the receipt on a thermal printer.
(05) — Backend
A restaurant on top of an ERP.
The backend runs on ASP.NET Core 8 and PostgreSQL and is multi-tenant: each restaurant sees only its own data. There is no separate schema for restaurants — the workflow is mapped onto documents the ERP already had: a table is a customer, a hall is a customer group, a kitchen ticket is a production report.
What I added on top of that base:
Service charge
A surcharge as a percentage or a fixed amount. Those marked automatic are added to every new order on their own.
Routing to stations
Product groups are assigned to each member of staff, so a cook sees only the tickets of their own station.
Limited portions
What is left of a dish goes down in the same transaction as the order.
PIN sign-in
For shared terminals: each user has their own PIN on a given device, and the server exchanges it for the usual tokens.
Take-away and delivery
Orders without a table go through the same chain, and the payment type can be changed afterwards.
Realtime and push
A SignalR hub for orders and a service that sends push through Firebase. So the server could reach Firebase, I wrote a SOCKS5 proxy that sends only Google API traffic through an SSH tunnel.
(06) — Desktop
Windows apps for the till, the floor and the kitchen.
All of it is written in C# and talks to the same backend; the apps with a screen are WPF.
Till: receipts
Tables and each table’s open order, with the subtotal, service charge and total. The receipt goes straight to a thermal printer as ESC/POS commands, and the list refreshes every 3 seconds.
Waiter terminal
PIN sign-in, halls and tables, a menu with photos, a basket. Once an order is sent the app signs out to the PIN screen by itself, ready for the next waiter.
Kitchen board
Overdue, New and In progress columns. Dragging a card into In progress with a finger starts the cooking, and a double tap marks the dish ready.
Printer service
A local Windows service that finds the computer’s printers. It drops virtual ones (PDF, fax) from the list and checks whether a printer is merely installed or actually connected.
(07) — Hard parts
An interface that survives a kitchen.
A board that doesn’t fight the cook
The board refreshes every 2 seconds. While a card is being dragged, right after a manual action, or while the previous request is still running, the refresh is skipped; cards are updated in place rather than redrawn.
Finger drag-and-drop in WPF
Dragging is built on touch events, and a single tap, scrolling the list and a double tap are told apart from one another.
Polling instead of realtime
A SignalR client with heartbeat and reconnects is written, but in the build that went to the terminal the board refreshes the more dependable way, by plain polling.
One terminal, many people
The device ID is derived from the computer’s hardware and a PIN is bound to that device: a PIN from one terminal does not work on another.