Demo: C4 diagrams of Shop Platform as code
On This Lesson 3 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
model Shop levels 1-3 in one text file. Prepares MID-063-LAB1.
Draft outline details
Step by step
- Create
workspace.dslin Structurizr (or Mermaid/PlantUML); define the customer and the payment provider. - Add containers: web app, API gateway, orders, inventory, payments, Postgres, Kafka.
- Add relationships with labels and technologies.
- Planned mistake: unlabeled arrows and no legend; a viewer cannot tell sync from async. Fix: label each arrow and add a legend and title.
- Add a component view of
ordersand render all views. - Commit the file and render in CI so the diagram never drifts.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.