CP·00
Start Here: Building the Capstone
For anyone ready to put the whole roadmap into one system: what the capstone is and why it's one application rather than many, TiffinBox's layers and which chapter builds each, how the layers depend on each other, the order to build them in, what "done" means, the twenty failure exercises that prove it, and how to study and build this volume.
Start here: how to use this volume
What this volume is
Volumes 1–17 teach the subjects; Volume 18 gives the route through them. This volume is the destination: one production system, TiffinBox, that uses everything, built layer by layer and then broken on purpose. Every chapter has the usual shape: a plain-language Start here section with a measured example; a How deep to go ladder; the full build guide; a Lab of real measurements on the lab machine; and a Revision sheet.
- Building it yourself? Read this chapter and chapter 211A, then build milestone by milestone (chapter 213), reading each layer chapter as you reach it. The failure exercises (212A–212B) come last, but plan for them from the start.
- Experienced and reviewing? Read each chapter's revision sheet and lab. The labs are where the surprises are: library defaults, proxy limits and silent failures that are easy to miss in a design review.
The layers and their chapters
| Layer | Capstone requirements | Chapter | Builds on |
|---|---|---|---|
| system and build order | requirements, estimates, boundaries, milestones | 211A | Volumes 12, 13, 15 |
| frontend | React + TypeScript, accessible components, responsive UI, URL state, server-state caching, auth, realtime, E2E, performance monitoring | 211B | Volume 2 |
| backend | Java + Spring Boot, REST, validation, transactions, authorization, async workers, resilience, structured logging, OpenTelemetry | 211C | Volume 3 |
| data | PostgreSQL, Redis, object storage, search, optional vector database | 211D | Volume 4 |
| events | Kafka, schemas, outbox, idempotent consumers, retries, DLQ, replay | 211E | Volume 5 |
| AI | LLM API, embeddings, RAG, reranking, structured outputs, tool calling, agents where justified, evaluation, AI security | 211F | Volumes 14, 14B |
| platform | Docker, Kubernetes, Terraform, cloud IAM, private networking, CDN, TLS, CI/CD, signing, canary, rollback | 211G | Volumes 6, 7, 8, 16 |
| operations | OpenTelemetry, logs, metrics, traces, dashboards, alerts, SLOs; OIDC, RBAC, secrets, threat model, scanning, supply chain, audit logging | 211H | Volumes 9, 10 |
| failure exercises | twenty incidents, each detected, mitigated, recovered and prevented | 212A, 212B | Volumes 9, 11, 16 |
| milestones and evidence | the build plan and the portfolio | 213 | Volume 17 |
One request through every layer
The roadmap's final principle asks you to reason through every layer a request crosses. Here is "skip tomorrow's lunch" in TiffinBox, with the chapter that builds each step:
tap "Skip Tuesday" → optimistic update, idempotency key (211B)
browser → CDN → load balancer → TLS, WAF, rate limit (211G)
BFF/API → session cookie → OIDC identity, role (211B, 211H)
SkipDay use case → validation, cut-off rule, row lock (211C)
PostgreSQL → skip row + outbox row, one transaction (211D, 211E)
response 201 → trace and logs with one trace ID (211H)
outbox relay → Kafka → SubscriptionDaySkipped event (211E)
workers → kitchen count updated, credit, email (211E)
if PostgreSQL fails / Kafka fails / the client retries / the deploy is half-done? (212A, 212B)
When you can explain every line, what it costs, how it fails and how you'd know, you've reached the roadmap's objective.
How to study and build
A routine that works
- Build the walking skeleton first, even if it takes a week: repository, pipeline, cluster, DNS, TLS, sign-in, one table, one screen, one trace.
- One milestone at a time, each ending deployed, tested and observed (chapter 213).
- For each layer, read the chapter, run its lab, then build: the lab shows the failure mode you're designing against.
- Write the ADR when you decide, not later.
- Break it as you go: run the relevant failure exercise as soon as a layer exists, not all at the end.
- Keep a log of surprises; they become your best interview stories.
Warm-up exercises
- Draw TiffinBox's architecture from memory after reading chapter 211A; compare with the diagram.
- Write the "skip a day" request path above for a different journey (subscribe and pay).
- List the five decisions you're least sure about, and which lab or exercise would test each.
- Estimate the cloud cost of running the whole system for a month at the chapter 211A scale.
Glossary
- Capstone: one complete system that integrates everything learned.
- Walking skeleton: the thinnest deployed, observed slice through every layer.
- Milestone: a deployable increment with its tests, telemetry and runbooks.
- Failure exercise: a planned experiment that breaks something to verify detection and recovery.
- Evidence: measurements, tests, write-ups and recordings that show the system meets its requirements.