FreeMIT LicenseFeatured

Sofreh — Restaurant POS, Kitchen Display & Back Office Template for Next.js (English & Persian)

A complete restaurant system for Next.js and shadcn/ui: POS, kitchen display, floor plan, reservations, menu and recipes, stock, guests and loyalty, invoices and shifts, reports, team, and a guest QR menu with ordering and pay at the table. English and Persian, light and dark.

by UpFork, built by Ramin ValadanLanding pageUpdated 27 Oct 2026

Read how it was madeBehind the build7 lessons
Watch0

From the workbench

Written about Sofreh — Restaurant POS, Kitchen Display & Back Office Template for Next.js (English & Persian)

By the developer who built it: how it works, with its real code and live preview in the text, and the lessons learned along the way.

About

Sofreh (Persian for the cloth a shared meal is laid on) is a complete restaurant system for Next.js: the POS, the kitchen display, the floor, reservations, the menu, stock, guests, money, reports and the team, designed as one product. The demo restaurant, Golnar Kitchen & Grill, keeps cooking while you click around: orders arrive, tickets fire, tables turn.

Service

  • POS: dine-in, takeaway and delivery; a menu of real photos with diet marks, search and keyboard shortcuts; modifiers, combos, courses and seats; fire by course, hold, split the bill equally, by seat, by item or by amount, discounts and coupons; cash, card, wallet and QR payments; receipts and kitchen tickets ready to print.
  • Kitchen display: stations, lanes (new, cooking, ready) with drag and drop, grid and expo views, all-day counts, rush and late tickets, bump and recall, sounds.
  • Floor plan: zones and tables on a live map with timers, occupancy and tonight's arrivals; seat walk-ins, move parties and push tables together; a layout editor.
  • Reservations: a drag-and-resize timeline with conflict checks, list and calendar views, a waitlist, and a booking sheet that suggests the best table.
  • Guest QR menu: each table's own menu on the guest's phone, ordering with staff approval, a live order tracker, call the waiter, pay at the table and leave a review.
  • Customer display and order board: what the guest sees at the counter, and the "preparing / ready" board for pickup.

Back office

  • Dashboard with widgets you arrange, and twelve reports: sales summary, sales by time (heatmap), items and categories, channels, payments, discounts, taxes, customers and cohorts, and more, all exportable.
  • Orders as a table or a board, with filters, saved views, a timeline per order, refunds and bulk actions.
  • Menu: items with prices, margins, recipes and availability; categories, modifier groups, combos, promotions and coupons; menu engineering (stars, plowhorses, puzzles, dogs) and "what sells with what".
  • Inventory: stock levels and cover days, recipes with food cost, suppliers, purchase orders from low stock, receiving, waste log and stock counts.
  • Guests: profiles with favourite dishes, allergies and habits, loyalty tiers and rewards, reviews with replies.
  • Finance: A4 invoices, payments, cash drawers and shifts with X and Z reports.
  • Team: staff, a weekly schedule with drag, labour cost and conflicts, a timeclock with a PIN kiosk, roles, and a permissions matrix with "view as role".
  • Settings in fourteen sections, from store and taxes to receipts, devices and security, plus a notification centre.

Two languages, light and dark

English and Persian with true right-to-left layout, the Jalali calendar and Persian digits; light, dark and five colour presets (Saffron Hour, Pomegranate, Pistachio, Lapis, Midnight Kitchen), with contrast checked for each.

Also inside

  • Sign in, staff PIN, register, password recovery, a lock screen and a five-step onboarding.
  • Error and system pages (404, 403, 500, maintenance, offline, coming soon) drawn in the same style, a design-system page, and twelve illustrations drawn in code.
  • 46 real dish photos (Unsplash licence, credited), installable apps (PWA) for the back office, POS, kitchen and guest menu.

Your data

The restaurant comes from a seed: 120 days of history (about 20,000 orders), consistent across every screen, and a live service simulation. Reads, writes and live updates each go through one seam, so connecting your own API is a matter of replacing the mock layer; docs/BACKEND.md shows how. Until then, every change stays in the browser.

Stack

Next.js 16 (App Router, TypeScript strict) · React 19 · Tailwind CSS 4 · shadcn/ui (Radix) · next-intl · zustand + Immer · TanStack Table and Query · react-hook-form + zod · Recharts · Motion · dnd-kit · lucide-react

Quality

354 unit tests (the pricing engine at 100 % coverage), end-to-end browser checks, an i18n check that keeps both languages complete, keyboard support and screen-reader labels throughout, and reduced motion respected.

Run it

Download the ZIP under Extra downloads, then pnpm install and pnpm dev (Node.js 20+). The README covers renaming, your logo and colours, languages, photos and connecting a backend.

What’s new

1 update

  1. v1.0.0

    Latest

    The first release of Sofreh, the restaurant system for Next.js.

    • Service: POS (courses, modifiers, split bills, cash/card/wallet/QR), kitchen display by station, live floor plan with a layout editor, reservations timeline and waitlist, guest QR menu with ordering, tracking and pay at the table, customer display and order board.
    • Back office: dashboard, twelve reports, orders, menu and menu engineering, inventory and purchasing, guests and loyalty, invoices and cash shifts, team and permissions, settings in fourteen sections.
    • Also: sign-in, staff PIN, onboarding, error pages, a design-system page; English and Persian (RTL, Jalali dates), light, dark and five colour presets.
    • Data: a seeded restaurant with 120 days of history and a live service; one seam to connect your backend (docs/BACKEND.md).
    • Run it: unzip, pnpm install, pnpm dev (Node.js 20+).

Reviews and bugs

0 reviews · 0 bugs

Ship it0With fixes0Skip0· 0 reviews

0 bugs0 open0 fixed

Members who have it review it and report its bugs. Sign in

No reviews or bugs yet.

Downloads

1 release

v1.0.0

Latest16 Oct 2026

The first release of Sofreh, the restaurant system for Next.js.

  • Service: POS (courses, modifiers, split bills, cash/card/wallet/QR), kitchen display by station, live floor plan with a layout editor, reservations timeline and waitlist, guest QR menu with ordering, tracking and pay at the table, customer display and order board.
  • Back office: dashboard, twelve reports, orders, menu and menu engineering, inventory and purchasing, guests and loyalty, invoices and cash shifts, team and permissions, settings in fourteen sections.
  • Also: sign-in, staff PIN, onboarding, error pages, a design-system page; English and Persian (RTL, Jalali dates), light, dark and five colour presets.
  • Data: a seeded restaurant with 120 days of history and a live service; one seam to connect your backend (docs/BACKEND.md).
  • Run it: unzip, pnpm install, pnpm dev (Node.js 20+).
  • sofreh-1.0.0.zipAny system11 MBScanned

    d831487647f074aec586e4fbb8a30b8eaaae0fcfeb4d0ed280a298e260379f2b

Free for members: sign up (it’s free) to download the files.

Before you buy

Everything you need to know

How this landing page gets from the preview into your project, and what buyers ask most.

How to use it

From the preview to your project

  1. 01

    Try it in the preview

    Switch between light and dark, and resize it to phone and tablet widths, before you decide.

  2. 02

    Get it

    Free products are yours with a free account. Paid ones settle in USDT on TRON, sent straight to the wallet on your order.

  3. 03

    Install it

    Components go into your project with one shadcn command, dependencies included. Everything else downloads with a checksum.

  4. 04

    Make it yours

    It's your code now: rename it, restyle it and wire in your real data.

  5. 05

    Or hand it to your AI

    Copy the prompt and let your coding assistant place it in your project, following your conventions.

Selling your own work?

Get approved once, then publish components, templates and mobile components, paid in USDT straight to your own wallet.