Level 1 · Apprentice0 XP
One small booking service that uses the whole path: scenarios, diagrams, decisions, code, tests, delivery and a design doc.
Step 1 / 6
ProblemYou have learned clean architecture, databases, Spring, tests, delivery and how to write decisions down, one lesson at a time. An architect is judged on putting them together. This capstone is one system, built in small pieces of about 30 minutes each.
← → step
Before this: Growing as an architect
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Core (30 min): write the brief for the booking service as three quality scenarios with numbers (peak load, latency, no double booking). Stretch: add a fourth for availability with an SLO.
2.Core (30 min): draw the C4 context and container diagrams in Mermaid. Stretch: add a component diagram for the booking module.
3.Core (30 min): write the two ADRs (monolith or services; how to stop double booking), each with a 'revisit when' line. Stretch: add a third ADR for how payments are retried.
4.Core (30 min): build POST /bookings with a Book use case, a Seats port and an in-memory fake, plus one unit test. Stretch: add the JPA adapter with a Testcontainers test.
5.Core (30 min): add a CI workflow that runs the tests and builds a Docker image. Stretch: deploy it to a local kind cluster and add a booking-latency dashboard.
6.Core (30 min): write a one-page design doc (problem, scenarios, diagram, decisions, risks) and send it to one person for questions. Stretch: answer each question in the doc.