This is a simple starting point for using Structurizr for Java.
See Structurizr for more information about Structurizr and creating software architecture models as code.
To build this example from the sources (you'll need Java 8):
git clone https://github.com/structurizr/java-starter.git
cd java-starter
chmod u+x gradlew
./gradlew build
To run the example:
./gradlew run
Note: In order to upload your model to Structurizr through the web API, you'll need your own API key and secret. You can get these by signing up for a free account and creating a workspace after you've signed in.