All projects
LiveE-commerce

Al-Marasim Restaurants

Online menu and ordering that lands in each branch’s WhatsApp

A mobile-first Arabic menu and ordering app for a four-branch restaurant chain: about 87 priced items plus option groups, delivery or pickup, a map location picker, and orders delivered to the chosen branch on WhatsApp with a generated invoice image.

Visit the live sitemarkh.site
My role
Built the ordering app, checkout and integrations on an initial scaffold
Timeline
Aug 2026
Platforms
Web, Mobile web
markh.site
Restaurant menu with categories, search and dish cards
Mobile menu with category chips and add-to-cart buttons
Branches
4
Priced items plus option groups
~87
Checkout steps
3

Engineering decisions

Restaurants already run on WhatsApp, so the order goes there instead of into yet another dashboard.

WhatsApp Cloud API
Orders reach the selected branch through the WhatsApp Cloud API, with a wa.me fallback.
Generated invoice images
Each order produces an invoice image with a barcode, stored in blob storage.
Delivery by map pin
Leaflet and OpenStreetMap let customers drop a pin instead of typing an address.
Catalogue feed
A CSV product feed for Meta commerce.
Analytics on every page
Google Analytics now runs on every page of the site.
Designed, not yet built: a v2 multi-tenant platform
I designed a v2 platform for many restaurants on one database: a Prisma schema of 109 models, 53 enums, 101 row-level-security policies, 67 checks and 83 unique constraints, with tenant-safe composite foreign keys (139 of 165). The tenant id is set for each transaction so PostgreSQL row-level security isolates tenants, and two database roles (runtime and owner) keep the app away from schema changes. An ERD review listed 55 defects in the original data model, each with a fix. This is a design; it has not been built.

Web

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS 4

Integrations

  • WhatsApp Cloud API
  • Leaflet
  • Vercel Blob

Delivery

  • Vercel

Need something like this?

Tell me about the operation you want to organise and I will map it into a clear system before writing a line of code.

Let's talk