Skip to content

Latest commit

 

History

History

doc

Documentation

The documentation employs the C4 Model technique to model and visualize the system architecture from its static and dynamic perspective.

This repo contains:

  • the main C4 workspace,
  • additional documentation in form of Markdown files, and
  • Architectural Decision Records (ADRs) expressed in MADR format.

It has hierarchical organization mirroring the static system structure. For example, the documentation of container "Smart Contracts" is located in nolus-money-market directory.

Authoring

The easiest way to create and edit the model and views is using Structurizr DSL. The Web console provides an editor and a convenient side view. Other option is to use any text editor of preference. In either way, the DSL reference is helpful.

Rendering

Locally, the views are edited by using Structurizr Lite. It is a Java Tomcat Web Application allowing one to edit the layout of the views and export to PNG and SVG. The changes are saved as a workspace in workspace.json file next to the source workspace.dsl.

docker pull structurizr/lite
docker run -it --rm -p 8080:8080 -v <workspace-dir>:/usr/local/structurizr structurizr/lite

References

Technology Radar's Diagrams-as-Code C4 Model Structurizr Getting Started