Skip to content

Commit 0928609

Browse files
committed
docs: structurizr
1 parent 0aa120c commit 0928609

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

Diff for: runStructurizr.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docker pull structurizr/lite
2+
docker run -it --rm -p 8080:8080 -v ~/git/AngularAndSpring/structurizr:/usr/local/structurizr structurizr/lite

Diff for: structurizr/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/workspace.json
2+
.structurizr/

Diff for: structurizr/workspace.dsl

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
workspace "AngularAndSpring" "This is a project to show crypto currency values and statistics. It imports the quotes from the exchanges and enables requesting the current order book." {
2+
3+
model {
4+
user = person "User"
5+
angularAndSpringSystem = softwareSystem "AngularAndSpring System" "System of multiple applications" {
6+
kafka = container "Kafka Event System(Optional)" "Kafka provides the events between multiple deployed AngularAndSpring applications."
7+
angularAndSpring = container "AngularAndSpring" "Multiple instances possible. Angular Frontend and Spring Boot Backend integrated."
8+
database = container "MongoDb" "MongoDb stores all the data of the system." tag "Database"
9+
}
10+
cryptoCurrencyExchanges = softwareSystem "Crypto Currency Exchanges" "Multiple Exchanges"
11+
12+
# relationships people / software systems
13+
user -> angularAndSpringSystem "views quotes / charts / statistics / order book"
14+
angularAndSpringSystem -> cryptoCurrencyExchanges "import quotes / request order book"
15+
16+
# relationships containers
17+
user -> angularAndSpring "views quotes / charts / statistics / order book"
18+
angularAndSpring -> cryptoCurrencyExchanges
19+
angularAndSpring -> kafka
20+
kafka -> angularAndSpring
21+
angularAndSpring -> database
22+
}
23+
24+
views {
25+
systemContext angularAndSpringSystem "SystemContext" {
26+
include *
27+
autoLayout
28+
}
29+
30+
container angularAndSpringSystem "Containers" {
31+
include *
32+
autoLayout lr
33+
}
34+
35+
styles {
36+
element "Person" {
37+
shape Person
38+
}
39+
40+
element "Database" {
41+
shape Cylinder
42+
}
43+
}
44+
}
45+
46+
}

0 commit comments

Comments
 (0)