Skip to what it does
Paramaguru

Menu

Colours for this site

Home

Full-stack app · Ordering and kitchen · Food & Drink

Stack Burger Orders

Online ordering for a burger restaurant, with a 3D burger to build and a live kitchen board, from checkout to the rider's hand-off.

Stack Burger's landing page lets you build a burger in 3D and adds up the bill, and this app takes the order. Customers build a burger or order from the menu, choose pickup or delivery from one of three kitchens and pay, and the ticket lands on the kitchen board at once. The kitchen, the rider and the customer's tracker move together until the food arrives.

The Stack Burger Co. template · 3D

01 · What it does

What it does.

Made for restaurants and cloud kitchens that want ordering of their own.

  • The menu and the 3D burger, with the restaurant's own rules for layers and combos
  • Pickup or delivery from three kitchens, each with its opening hours
  • A live kitchen board, and a tracker the customer follows to the door
  • Rider hand-off with a four-digit delivery code
  • An admin portal: sold-out switches for each kitchen, prices, opening hours, refunds and the day's sales

What the demo shows

  • Demo sign-in with roles

    Start as Customer, then switch to Kitchen, Rider or Manager.

  • Payments in test mode

    Test-mode payments, or pay at the counter for pickup.

  • Live updates

    The kitchen board and the customer's tracker move together.

  • Works offline

    Not in this app.

  • Documents as PDFs

    Not in this app.

  • 3D from the template

    Build a burger in 3D with real physics, as on the template.

02 · Try it

Roles to try.

When the demo opens, it starts you as Customer, and you can switch to any other role at any time.

  1. You start here

    Customer

    Builds a burger or orders from the menu, pays and follows the tracker.

  2. Role 02

    Kitchen

    Watches tickets land on the board, and moves them to the griddle and on to Ready.

  3. Role 03

    Rider

    Picks up orders and marks them delivered with the customer's code.

  4. Role 04

    Manager

    Switches items off when they sell out, refunds orders and reads the day's sales.

What you'll try

  1. Build, pay, track

    Stack a burger in 3D, or pick one from the menu, and add fries. Choose delivery from the Gachibowli kitchen and pay in test mode. A live tracker shows when it will arrive, and a WhatsApp with a four-digit delivery code lands in the Outbox.

  2. Cook it live

    Open the side-by-side view: the customer's phone on the left, the kitchen board on the right. The ticket arrives by itself with its layers listed from the bottom up. Move it to On the griddle, then Ready, and the tracker moves at the same moment.

  3. Hand it over

    As Rider, pick up the order and mark it delivered with the code from the Outbox.

  4. Run the day

    As Manager, mark the lamb patty sold out at one kitchen, and it greys out in 3D and on the menu at once. Refund a late order and see today's sales by kitchen, hour and item.

03 · The stack

Why this stack.

What Stack Burger Orders runs on, and why each part suits it. How its stack compares with my other apps' is on the apps page.

Front end
Astro with Svelte islands
Back end
Astro actions
Database
Neon Postgres
ORM
Drizzle
Hosting
Vercel
  1. The template's 3D burger is written in Svelte with Threlte and Rapier, and Astro is the one stack of the five that runs those Svelte islands unchanged.

  2. The menu, kitchen and tracking pages are plain HTML rendered on the server, so they load fast on budget phones; only the 3D burger, the bag and the kitchen board load JavaScript.

  3. Astro actions place orders and move tickets, and an Astro endpoint streams the kitchen board and the tracker as server-sent events, fed from a Postgres table so they work on serverless hosting.

  4. A phone without WebGL can still order: the menu's Add buttons are plain HTML.

04 · The data

The tables behind it.

The main tables in Neon Postgres. Money is kept in paise, and every row belongs to one visitor's sandbox.

  • outlets, localities

    The three kitchens, and the areas each one delivers to, with distance and fee.

  • menu_categories, menu_items, ingredients

    The menu, and every layer a burger can have.

  • outlet_availability

    What each kitchen has sold out of.

  • orders, order_items, item_layers

    Each order, with every burger's layers from the bottom up.

  • order_events

    Every change of status: when, and by which role.

  • payments

    Test-mode payments and refunds.

  • live_events

    What the kitchen board and the tracker stream.

Start a web app

An app like this, for your business.

Tell me about your business, and I'll shape Stack Burger Orders around it: your roles, your data and the way you take payments.