Food ordering with options
L2–L4
Level range
7
Sprints
36
Tasks
Backend and frontend
Built as
What you’ll build
A takeaway ordering site. Customers pick sizes and extras, order the same dish two different ways, and are charged exactly the price they were shown. They follow their order from accepted to ready. The restaurant runs its own menu, and an extra that runs out disappears before anybody picks it.
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.
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.
A cart that survives
You can add, change and remove items, keep the cart across a logout and login, and show a total that reflects prices as they are now.
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.
Stock that cannot go negative
You can decrement stock on a sale and prove that a hundred simultaneous orders for ten items produce ten sales and ninety refusals.
Notifications people do not mute
You can notify a user when an event concerns them, show an unread count that survives a refresh, and honour a preference that says stop.
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, 36 tasks
Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.
- Sprint 01
Getting in
Somebody can create an account and come back to it, and counter staff accounts cannot be created from the sign-up form.
4 tasks
- Let a customer create an account and be signed in straight away
- Keep a customer signed in until next Friday
- Let a customer sign out on a borrowed phone and leave nothing behind
- Stop anyone creating a counter account from the sign-up form
- Sprint 02
A dish has a shape
The restaurant describes what it sells, including the choices a dish comes with and what each one does to the price, and nobody else can change it.
6 tasks
- Give counter staff a screen to build the menu
- Let a dish come in sizes, where each size sets the price
- Let extras add to the price, and limit some to certain sizes
- Let the counter mark questions the kitchen needs answered
- Show customers the menu the counter wrote
- Make the server refuse menu changes from anyone but counter staff
- Sprint 03
Choosing, and what it costs
A customer builds a dish from its choices, the basket keeps each one exactly as it was built, and the total charged is worked out by the server from the choices, never taken from the browser.
6 tasks
- Make the price follow every choice on the dish screen
- Refuse to add a dish while a required question is unanswered
- Keep the same dish chosen two ways as two basket lines
- Keep a customer's basket for a week across devices
- Work out the order total on the server, never from the browser
- Tell the customer when a price changed while it sat in the basket
- Sprint 04
The ticket the kitchen cooks from
An order is a record of exactly what was chosen and what it cost, it moves from accepted to ready, and it still says the same thing next month.
5 tasks
- Show counter staff tonight's orders with every choice spelled out
- Record on each order exactly what was chosen and what it cost
- Move orders forward only, and record who moved them and when
- Let a customer follow their own orders and nobody else's
- Let counter staff stop an order and customers cancel before cooking
- Sprint 05
No halloumi tonight
A choice can run out while the dish it belongs to does not, and nobody is sold a choice the kitchen has not got.
5 tasks
- Let counter staff turn a choice off for the night
- Mark a dish off tonight when its required choice has run out
- Let counter staff set portions left and count them down
- Prove that twenty orders cannot take more than six portions
- Show which basket lines hold a choice that has run out
- Sprint 06
Telling them
A customer hears about their own order without keeping a page open, and is never told something that has stopped being true.
5 tasks
- Send the customer a receipt that lists what they chose
- Tell the customer the moment their order is ready
- Work out each message when it is sent, not when it is arranged
- Tell the customer when the kitchen stops their order
- Show counter staff new orders as they arrive
- Sprint 07
Open for business
The restaurant is on the internet at its own address, taking real orders while the laptop it was built on is shut.
5 tasks
- Put the site on a host so a stranger can order without you
- Read every setting the site needs from its environment
- Send order emails that reach real inboxes
- Serve the site at its own address over a secure connection
- Make a bad release quick to undo on a Friday night
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 two kinds of people who use it, and the one claim you must be able to prove.
How a restaurant actually prices a dish
Restaurant knowledge you may not have: sizes, extras, required questions, allergens, and what a menu price includes.
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.
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.
Event ticketing with door check-in
Tickets for one event. They sell until the set number of tickets runs out, every ticket has its own code, and the door lets each code in once, even when the signal drops.
Not the one for you?
Every Blueprint is planned the same way, across health, shopping, money, education and more.
Browse all BlueprintsBuild food ordering with options.
Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.
Start today, for free