C4 model of a food-delivery platform

A C4 model of Forkway, a food-delivery platform: who uses it, the containers inside it, and the parts of its order and dispatch services.

Forkway, system context view of the map Open the interactive map

Views in this map

  1. 1
    System contextWho uses Forkway and the outside systems it depends on.
  2. 2
    ContainersThree apps behind one gateway, four services, their stores and the event bus.
  3. 3
    Order serviceInside the order service: checkout, pricing and the order’s state machine.
  4. 4
    Dispatch serviceInside dispatch: how a ready order finds a courier and an ETA.

Context ▸ Containers ▸ Components

Flows to play

  • An order, end to endThe same order at the level of the whole system.
  • Place an orderFrom the diner’s tap to a courier on the way.
  • CheckoutOne checkout call through the order service’s components.
  • Assign a courierFrom OrderReady to a courier on the way.

The model behind it

51 records of 7 types. Every box on the map is one of them, so the filters and the record panel read the same data.

  • Containers 16
  • Components 14
  • External systems 6
  • Teams 5
  • Deployment nodes 5
  • People 4
  • Software system 1

Filters

Team and Technology: pick a value and everything else fades.

See you in the canvas

Unlock your team’s collaborative super powers.