Structurizr for Java starter
This is a simple starting point for using Structurizr for Java. To use it:
1. Clone the repo
git clone https://github.com/structurizr/java-quickstart.git
2. Set your workspace ID, API key and secret
Modify the constants at the top of src/main/java/Structurizr.java to reflect your own Structurizr workspace (this information is available on your dashboard, after signing in).
private static final long WORKSPACE_ID = 1234;
private static final String API_KEY = "key";
private static final String API_SECRET = "secret";
3. Run the program
Finally, run the program, using your IDE or Gradle; for example:
cd java-quickstart
./gradlew run
For more information, please see Structurizr for Java - Getting Started.