Projects

Coffex

White-label QR ordering for cafes

TL;DR: In a busy cafe, orders get lost between the table and the counter. With Coffex, guests scan the QR code on their table and order from the cafe's own branded menu, and staff see each order live with its table number.

The problem

Waiters forget table numbers, guests wait to be noticed, and the kitchen works from scribbled notes. Most QR menus fix only half of it: the guest sees a PDF, but the staff still take the order by hand. Big ordering platforms take a cut and put their own brand in front of the cafe's.

What I built

  • Order from the table. Guests scan, browse the menu in Azerbaijani, English or Russian, and order. No app to install, no account. They can also call staff or ask for the bill.
  • Live orders for staff. A paired tablet shows every order as it arrives, with the table number and a sound alert. Staff sign in with a PIN, and the screen stays awake through the shift.
  • The owner stays in control. Menu, sold-out items, branches and opening hours, tables and QR codes, staff and roles, and the look of the menu, all from one admin.
  • AI that helps, not decides. Suggestions for translations, menu import and theme colours. The owner approves each one.
  • The cafe's brand, not ours. Each cafe gets its own subdomain and design. Coffex never handles payments; guests pay the cafe as usual.

Where it is now

The first version is complete and being piloted with cafes in Baku.

Technical details

  • Bun + Turborepo monorepo: an Elysia gateway and API, plus Next.js 16 apps for guests, staff, owners and the Coffex team.
  • Every query filtered by vendor, with PostgreSQL row-level security as a second wall; Casbin roles scoped to each branch.
  • Orders delivered over WebSockets on per-branch channels with token-scoped subscriptions.
  • PIN attempts throttled per tablet.
  • Over 750 tests across four CI jobs.