Skip to content

Case study 02 — SaaS

MN-QRMENU.

Many restaurants, each with branches, sharing one menu catalog where it should be shared and nothing where it shouldn't.

Title blockSheet 03 · Case 02
Year
2026
Role
Sole developer
Stack
Laravel · Next.js · MySQL · Docker
Duration
2023–2026
Status
Live · In production for restaurant brands in Türkiye

Problem

A restaurant brand with several branches needs one menu it maintains once, and branches that can still differ in price, hours and availability.

The platform serves several restaurants, each with its own branches, staff, languages and domain. Guests scan a QR code and land on their branch's menu; owners and managers run everything from an admin panel.

Constraints

  1. C1Every restaurant's data stays its own, and one person can manage several restaurants with a different role in each.
  2. C2An action taken in one branch may only change that branch.
  3. C3A restaurant can serve its menu on its own domain.
  4. C4Menus and campaigns in more than one language.
Key decisions

Three calls that shaped the rest.

  1. D1

    Three apps over one API

    WhyThe guest menu, the admin panel and the Laravel API are separate apps that only talk over REST, with cookie-based Sanctum sessions and separate guards for users and administrators.

    Trade-offTwo Next.js apps to build and deploy instead of one, and CORS and CSRF handled with care.

  2. D2

    An ownership rule for branch data

    WhyEvery resource is either restaurant-wide, branch-owned, or a shared definition with branch-specific settings, and each change is limited to its class. Anything restaurant-wide is labelled that way in the admin.

    Trade-offMore tables and stricter endpoints than a single restaurant_id column.

  3. D3

    Memberships, not one restaurant per account

    WhyAn account is an identity. Which restaurants it manages, and with which role, lives in memberships, so one person can run several brands with one login.

    Trade-offEvery authenticated request is bound to exactly one active membership.