- examples/: c4-standard-web-app, c4-e-shop (was online-shop), c4-event-based-integration; the same models the extension offers under Archify | New Model… - model-scaffold --example <name> copies one and renames id, name, description and the overview title; never overwrites - tests cover every example and the copy; docs updated
39 lines
908 B
Plaintext
39 lines
908 B
Plaintext
schema_version: 1
|
|
diagram_type: architecture
|
|
meta:
|
|
title: Containers
|
|
output: containers.html
|
|
components:
|
|
- ref: user
|
|
pos: [40, 160]
|
|
size: [130, 60]
|
|
- ref: spa
|
|
pos: [250, 160]
|
|
size: [150, 60]
|
|
- ref: api
|
|
pos: [480, 160]
|
|
size: [130, 60]
|
|
- ref: idp
|
|
pos: [480, 20]
|
|
size: [130, 60]
|
|
- ref: cache
|
|
pos: [690, 60]
|
|
size: [130, 60]
|
|
- ref: db
|
|
pos: [690, 160]
|
|
size: [130, 60]
|
|
- ref: storage
|
|
pos: [690, 260]
|
|
size: [130, 60]
|
|
boundaries:
|
|
- kind: region
|
|
label: Web Application
|
|
wraps: [spa, api, cache, db, storage]
|
|
connections:
|
|
- { from: user, to: spa, label: HTTPS, variant: emphasis }
|
|
- { from: spa, to: api, label: JSON }
|
|
- { from: api, to: idp, label: verify token, variant: security, labelAt: [531, 110] }
|
|
- { from: api, to: cache, label: read }
|
|
- { from: api, to: db, label: SQL }
|
|
- { from: api, to: storage, label: files }
|