Order lifecycle for a kitchen
L2–L4
Level range
7
Sprints
30
Tasks
Backend and frontend
Built as
What you’ll build
A food order that changes in front of you. The customer watches it go from placed to cooking to out for delivery without refreshing the page. The kitchen and the rider each do their own job and cannot do each other's. A customer can cancel until cooking starts, and every change is recorded with a name and a time.
A skill in every sprint
You show you have it in a pull request your team reviews, then explain it in a walkthrough.
Authentication
You can register and sign in a user, keep a request authenticated without asking for the password again, and explain where the credential lives in the browser and why there rather than somewhere else.
An order that moves through states
You can move an order through its states, refuse a transition that should not happen, and show the history of how it got where it is.
Roles and permissions
You can give users different roles and have the server refuse what a role may not do — not merely hide the button — and show the refusal working against a request the interface never offered.
Realtime updates
You can push a change from the server to an open page and have a second browser see it — and say what happens to a client that was disconnected while it changed.
Going live
Somebody who has never met you can open a URL and use the product — and you can say what is different about the copy running there, where its secrets come from, and what you do when a release turns out to be wrong.
7 sprints, 30 tasks
Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.
- Sprint 01
Everyone who touches an order
The app can tell customers, kitchen staff and riders apart, and the kitchen tablet stays signed in for a whole evening of service.
4 tasks
- Let customers sign up and land signed in
- Let people sign back in, stay signed in and sign out properly
- Create kitchen and rider accounts that nobody can give themselves
- Keep the kitchen tablet signed in from five until midnight
- Sprint 02
The moves that are legal
A customer places an order, the order moves forward only through the allowed moves, and every other move is refused, while a double tap on a wet screen is treated as one tap.
5 tasks
- Let customers place an order that appears on the kitchen board
- Move an order forward through its stages
- Refuse moves that are not allowed and say what stage the order is in
- Treat a double tap on start as one tap
- Make the board readable from two metres with waiting orders first
- Sprint 03
Who may move what
The kitchen can start cooking but cannot mark an order delivered, the rider can do the reverse, and the server refuses a forbidden move even when no button offered it.
4 tasks
- Give the kitchen and the rider their own separate moves
- Refuse forbidden moves sent directly to the server
- Send each role to its own screen and let riders take ready orders
- Show customers their own orders and nobody else's
- Sprint 04
The screen they watch
A customer watching on a phone sees each move as it happens, and a phone that was asleep catches up instead of showing a stage that is no longer true.
4 tasks
- Update the customer's screen when the kitchen moves the order
- Show new orders and rider pickups on the board without a reload
- Catch up a screen that was asleep or offline
- Send each live connection only what its holder may see
- Sprint 05
Stopping the kitchen
A customer can cancel until the kitchen starts, a cancel and a start at the same moment always have exactly one result decided by a rule written in advance, and the person who lost is told the truth.
4 tasks
- Let customers cancel an order before the kitchen starts it
- Remove a cancelled order from the board while the kitchen watches
- Give a cancel and a start at the same moment exactly one result
- Tell the person who lost the race what really happened
- Sprint 06
How it got here
Every move is kept with its time and the person who made it, and a week later the kitchen can read the whole story of an order, including the moves that were refused.
4 tasks
- Record every move with its time and the person who made it
- Show customers the whole story of their order
- Record the refused moves that matter
- Let the kitchen find and read an order from an earlier day
- Sprint 07
Service starts at six
The board is live on the internet at its own address, the live screens keep working there, and the product stays up without the person who built it.
5 tasks
- Put the product live at its own address
- Keep live screens working through the proxy and across app copies
- Keep every secret and setting out of the repository
- Write down how to put a change live and how to roll it back
- Show what broke when the board goes blank during service
Read before you build
Senior engineers read the docs before they touch the code. Every Blueprint comes with short documents on the product and its world, the kind a team hands a new hire. Read them well and you ask sharper questions and walk into every review prepared.
What you are building
The product, the three kinds of people who use it, the three parts that make it hard, and what is not included.
How a kitchen actually runs service
How a kitchen works during service: the pass, the ticket rail, why an order nobody has started is the costly failure, and what a cancel costs at each stage.
More commerce Blueprints
Corner shop storefront
An online shop for one small corner shop. The shelf shows what is really in stock, a basket is still there the next day, the shop never takes money for something it does not have, and the shopper can follow their order until they collect it.
Food ordering with options
Online ordering for one restaurant, where a dish is a set of choices, not a single price. A size sets the price, extras add to it, some extras only come on some sizes, and the total is worked out by the server from what the customer chose, never taken from the browser.
Restock waitlist
A waiting list for things a small shop has sold out of. People ask to be told when a thing comes back. When three come back, the stock goes to people in the order they asked. Each unit is held long enough for the person to act, is offered to nobody behind them until that time ends, and is never offered to the same person twice.
Not the one for you?
Every Blueprint is planned the same way, across health, shopping, money, education and more.
Browse all BlueprintsBuild order lifecycle for a kitchen.
Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.
Start today, for free