Skip to content

karloskalcium/springboot-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c4model

This directory contains a sample, leveraging Structurizr for Java and the springboot extensions to create a sample microservice architecture model, based on BigBank.plc. This model can then be uploaded to Structurizr to generate various visualizations and diagrams.

It is meant to show a more complex example, written in a more extensible fashion (leveraging the SpringBoot extensions), and can be used a starting point for other projects. It is not meant to represent an actual/complete architecture of a bank, it is very simplified.

Usage

1. Set your workspace ID, API key and secret

Make a copy of the application.yaml.dist file to reflect your own Structurizr workspace (this information is available on your dashboard, after signing in and clicking on Show more).

cp src/main/resources/application.yaml.dist src/main/resources/application.yaml

2. Run the program

Run the program, using your IDE or Gradle; for example:

./gradlew bootRun

3. Log onto Structurizr to see the results

Once you log in you can tweak the layout of the diagrams and save; next time you upload the elements will remember their location.

There is a workspace available where you can see the diagrams that result from this model.

Modeling approach:

More info on C4 and Structurizr

About

Sample model of simplified bank architecture using Structurizr java libraries and springboot extensions

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages