Skip to content
Ameen Abozaid
Planned lessonMID-063-L07

Demo: C4 diagrams of Shop Platform as code

  • Lesson 7 of 7
  • Mid-level
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

  1. Create workspace.dsl in Structurizr (or Mermaid/PlantUML); define the customer and the payment provider.
  2. Add containers: web app, API gateway, orders, inventory, payments, Postgres, Kafka.
  3. Add relationships with labels and technologies.
  4. Planned mistake: unlabeled arrows and no legend; a viewer cannot tell sync from async. Fix: label each arrow and add a legend and title.
  5. Add a component view of orders and render all views.
  6. Commit the file and render in CI so the diagram never drifts.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Type to search levels, phases, modules and lessons.