BE10: Capstone: three backend projects for TiffinBox
Goal: bring the whole path together by building, testing and presenting the three path projects: a secure orders API, a fast and fresh menu, and kitchen tickets passed through a queue, all in the TiffinBox practice kit.
You'll need: everything from BE1–BE9, the TiffinBox practice kit (download it from this path's Projects page), Node.js 20.9 or later, PostgreSQL 16 and Redis 7 (installed locally, or with the kit's Docker file if you use Docker).
Where this is used: this mirrors real backend work: closing security holes in an API that's already live, making a slow, popular page fast without serving stale prices, and connecting two services so no order is lost or doubled. A portfolio with these three, backed by passing tests and measured numbers, shows employers far more than a list of tools.
How it differs: each earlier module taught one skill. The capstone tests whether you can combine them under real conditions: tokens that must be checked properly, a cache that must stay correct, services that crash, and a reviewer who will try to break things.
Time: reading about 2 hours · practice (the Try it tasks) about 2 hours · projects and capstone about 40 to 50 hours in all.
Lessons
- 1Planning the capstoneReading 15–25 minutes, plus practice✓
- 2Project 1: a secure orders APIReading 15–25 minutes, plus practice✓
- 3Project 2: a fast, fresh menuReading 15–25 minutes, plus practice✓
- 4Project 3: kitchen tickets through a queueReading 15–25 minutes, plus practice✓
- 5Demo, self-review and case studiesReading 15–25 minutes, plus practice✓
🛠️Assignment: Complete and present the capstone
This is the final project of the Backend Developer path.
- Write the capstone plan with acceptance criteria, a timeline and the overview table.
- Project 1: make the orders API secure until the 13 API tests pass, and add one test of your own.
- Project 2: make the menu fast and fresh until the 9 cache tests pass, with load numbers before and after.
- Project 3: pass orders to the kitchen through the outbox and a consumer group until the 7 queue tests pass.
- Run the capstone checks on the Projects page, record the demo, complete the self-review and write three case studies.
Self-check before you finish:
- [ ]
npm testshows 29 passed in one session, plus your own tests. - [ ] No route takes a customer, price or role from the request without checking it.
- [ ] A price change shows on the very next menu request.
- [ ] Orders accepted while Redis or the kitchen service is down all become exactly one ticket.
- [ ] No secret, token or personal detail appears in the repository, logs or recordings.
✅Module check
Explain in a few sentences, in your own words:
How do the three capstone projects show you can do professional backend work?
Show a good answer
A good answer mentions: planning with acceptance criteria, a sensible order and evidence; an API that verifies tokens properly, takes ownership from the token, validates input, prices on the server, handles repeats with idempotency keys and limits callers through a shared store; a menu made fast by fixing N+1 queries, adding an index and caching with invalidation, a time-to-live, stampede protection and a fallback when Redis is down, with measured before-and-after numbers; services connected through an outbox and a consumer group with idempotent consumers, claiming and a dead-letter stream; and a demo of failures, an honest self-review and case studies with labelled figures.
📚Official references
Official documentation and guidance for this module's topics, chosen on 2 November 2026. Tools, laws and standards change, so check the current version before you rely on a detail. If a link has moved, search the same site.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
