Café platform  ·  CASE STUDY 2026

Speech Café

A video walkthrough of the Speech Café platform: the digital menu, café operations, the loyalty club, and opening events.

A full platform for a new café: phone menus at the table, a launch quiz that generates shareable story cards, a loyalty club with no app to install, and a custom till behind the counter.

Design and development · 2026
Live site
Role
Design and development
Client
Speech Café
Year
2026
Stack
Next.js 16 · TypeScript · PostgreSQL · Drizzle ORM · Zod · Playwright · Docker

Overview

When Speech Café opened, the site had three jobs on day one: put the menu on customers’ phones at their tables, give people a reason to share the opening, and start a loyalty program without requiring an app.

Behind the public storefront sits the system the café runs on. An admin panel lets the team manage items, prices, stock, rewards, and events. At the counter, a till records orders, prints receipts to a thermal printer, and balances the cash drawer at shift close.

The INFJ result, “The Discoverer of Secrets”, presenting three signature non-coffee drinks for the card.
On mobile: scrolling the home page, taking the quiz, and picking a drink for the story card. Captured live from speech.cafe.

Decisions

For the launch event, I built a personality quiz: “If you were a drink…”. Ten questions match the visitor to one of sixteen personality types, followed by a coffee preference question and three drink suggestions from the actual menu. The visitor picks one drink to generate an image formatted for Instagram Stories. The questions, type names, and drink pairings came directly from the café manager’s notes. The quiz never asks for a name or phone number upfront, and keeps zero personal data.

Scoring is deterministic: the same answers always produce the same type. The calculation runs in the browser for an immediate result, and runs again on the server before generating the card. Each card gets a sequential edition number from a database sequence, so the counter reflects the real count.

The café launched in browse-only mode: guests view the menu on their phones, then order at the counter. Online ordering, the cart, and payments are built, but kept behind an environment flag so unfinished checkout features cannot be triggered accidentally.

INFJThe Discoverer of Secrets

All sixteen story cards, ready to share on Instagram. Tap any type to preview.

Build

A single PostgreSQL database serves both the public website and the staff admin panel, so price changes in the panel reflect on the menu immediately. Prices are stored as whole tomans, reward points write immutable ledger entries, and incoming requests are validated with Zod at the API boundary.

Campaigns use a modular setup. Each event is a standalone module with its own metadata and server handler; rolling out a new event takes one file and a database record, leaving the core codebase untouched.

Receipts print directly on the café’s thermal printer. Because browsers cannot talk directly to local hardware, I wrote a small Windows helper in C# that runs on the counter PC. The web till renders the receipt as an image and passes it to the service over localhost with a secure token handshake. If the printer runs out of paper or disconnects, the panel explains what to check in Persian.

Share cards are pre-rendered with Playwright, creating post and story images for all sixteen types. The stack runs in Docker on Liara so guests inside Iran load the site without needing a VPN.

  1. 01Sale recordedPriced and securely stored on the server
  2. 02Receipt drawnRendered as a crisp image right in the browser
  3. 03Counter helperHanded off on localhost after a token handshake
  4. 04Thermal printerPrints a café ticket and a customer receipt
How an order reaches paper: since browsers can’t print silently, a companion helper on the counter PC takes care of it.

Outcome

Speech Café is open at speech.cafe, with a menu of over a hundred items across eighteen categories and both opening campaigns on the homepage.

The desktop menu: category chips above cards of drinks with photos and clear prices in tomans.
The complete menu across eighteen categories, designed for easy browsing before ordering at the counter.