MASA — Enterprise Multi-Branch Restaurant Platform & Touch POS
Production-grade multi-branch restaurant operating system built with Next.js 15, TypeScript, and MySQL. Features touch POS, real-time KDS, BOM recipe inventory deduction, and shift management.
Project Executive Summary
The Business Problem
Modern restaurants face fragmented systems: expensive 3rd-party POS subscriptions, high aggregator commissions (up to 30%), uncoordinated kitchen tickets, and inaccurate inventory tracking leading to food waste and cash variances.
Architecture & Engineering Solution
Architected around Domain-Driven Design (DDD) with strict separation of Domain, Application, and Infrastructure layers. Implemented atomic database operations with SELECT FOR UPDATE locks, an immutable integer Money Value Object, and an event-assisted real-time Kitchen Display System (KDS).
System Architecture & Data Flow
High-level sequence pipeline mapping store events to business operations: