Hearthline — Restaurant Management System | Zain Irfan
Web App · Laravel + React
Hearthline — Restaurant Management System
An open-source restaurant management system built with Laravel 12, React and Inertia — POS, kitchen display, recipe costing, ingredient inventory and purchasing in one app.
Laravel 12
React
Inertia.js
TypeScript
RBAC

257
Automated tests
Feature tests cover every module, from POS pricing to stock consumption.
Auto
Recipe-based stock
Each sale deducts exactly the ingredients its recipe uses.
5 roles
35 permissions
Administrator, Manager, Cashier, Kitchen and Inventory staff.
The challenge
Restaurants often run orders, kitchen tickets, stock and supplier purchases in separate tools — or on paper. Ingredient usage is guessed, food cost per dish is unknown, and nobody can say exactly where stock went.
I wanted one system where taking an order, cooking it, using up ingredients and buying more are all connected, with each staff member seeing only what their role needs.
What I built
I built Hearthline with Laravel 12 on the backend and React with Inertia and TypeScript on the frontend. Cashiers take dine-in, takeaway and delivery orders on a POS screen with variations and add-ons; the kitchen sees tickets move from new to preparing to ready; and payments, discounts, cancellations and refunds each have their own permission.
Every menu item has a recipe, so the app knows each dish's food cost and estimated profit. Selling a dish deducts its ingredients from stock automatically, and every change — purchases received, sales, wastage, stock counts and adjustments — is written to a stock movement ledger with weighted-average costing. Five staff roles and 35 permissions control what each person can see and do.
What I shipped
POS for dine-in, takeaway and delivery with variations and add-ons
Kitchen display with new, preparing and ready columns
Payments, discounts, cancellations and refunds with full status history
Recipes with food cost, cost percentage and estimated gross profit
Ingredient inventory with a stock movement ledger and weighted-average cost
Wastage, stock counts and adjustments with reasons
Suppliers and purchase orders that add stock when received
Role-based access with 5 roles and 35 fine-grained permissions
Screenshots

Kitchen display — orders move from new to preparing to ready

Point of sale with table selection

Order detail with totals, payments and status history

Recipe costing — food cost and estimated profit per dish

Inventory with stock levels and value at average cost

Stock movement ledger — every sale deducts its ingredients

Purchases from suppliers, received into stock
0 likes · 0 views · Nov 27, 2026
Built an open-source restaurant management system combining POS, kitchen display, recipe costing, inventory, and supplier purchasing.