generated from Arquisoft/wiq_0
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from Arquisoft/chore/dario/docu
Added sections 3 and part of 7 to the documentation
- Loading branch information
Showing
9 changed files
with
104 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@startuml | ||
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml | ||
!include <c4/C4_Context.puml> | ||
|
||
title Context Diagram for the WIQ System | ||
LAYOUT_WITH_LEGEND() | ||
|
||
'Containers | ||
Person(player, Player,"An authenticated player that wants to play WIQ games") | ||
|
||
Container(wiq, "WIQ Application","", "Application that allows the users to play WIQ games") | ||
|
||
System_Ext(wikidata,"WikiData API","Contains the information used for the question generation") | ||
|
||
'RELATIONS | ||
Rel(player,wiq,"Plays games") | ||
Rel(wiq,wikidata,"Asks for data for question generation") | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@startuml | ||
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml | ||
!include <c4/C4_Context.puml> | ||
|
||
title Context Diagram for the WIQ System | ||
LAYOUT_WITH_LEGEND() | ||
|
||
'Containers | ||
Person(player, Player,"An authenticated player that wants to play WIQ games") | ||
|
||
System_Boundary(wiq,"WIQ"){ | ||
Container(web_app, "WIQ Client", "React, Typescript", "Allows the user to play WIQ games") | ||
Container(backend_api, "WIQ REST API","Java SpringBoot 3","Handles the users, game logic and question generation") | ||
ContainerDb(database,"WIQ Database","PostgreSQL","Stores users, questions and other game info") | ||
} | ||
|
||
System_Ext(wikidata,"WikiData API","Contains the information used for the question generation") | ||
|
||
'RELATIONS | ||
Rel(player,web_app,"Uses","HTTPS") | ||
Rel(backend_api,wikidata,"Asks for data","SPARQL,HTTPS") | ||
Rel(web_app,backend_api,"Asks for user/game information","JSON,HTTPS") | ||
Rel(backend_api,database,"Stores game/user information","JPA") | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@startuml | ||
|
||
title WIQ Deployment View | ||
|
||
legend right | ||
|Color| Type | | ||
|<#PeachPuff>| WIQ Server | | ||
|<#DarkSalmon>| External Service | | ||
end legend | ||
|
||
node "Server Hosting WIQ" #PeachPuff { | ||
node "WIQ WebApp Server"{ | ||
component "WIQ React Application" | ||
} | ||
node "WIQ API" { | ||
component "WIQ_API.jar" | ||
} | ||
node "PostgreSQL Docker" { | ||
database "WIQ Database" | ||
} | ||
} | ||
node "User Computer" #DarkSalmon{ | ||
frame "Web Client" | ||
} | ||
node "WikiData Server" #DarkSalmon { | ||
frame "WikiData REST API" | ||
} | ||
"Web Client" ..> "WIQ React Application" : "HTTPS" | ||
"WIQ React Application" ..> "WIQ_API.jar" : "HTTPS" | ||
"WIQ_API.jar" ..> "WIQ Database" : "JPA" | ||
"WIQ API" ..> "WikiData REST API" : "HTTPS, SPARQL" | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@startuml | ||
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml | ||
!include <c4/C4_Context.puml> | ||
|
||
title Context Diagram for the WIQ System | ||
LAYOUT_WITH_LEGEND() | ||
|
||
'Containers | ||
Person(player, Player's Browser,"Preferred browser (Firefox, Chrome, Opera...)") | ||
|
||
System_Boundary(wiq,"WIQ Server"){ | ||
Container(web_app, "WIQ Client", "React, Typescript", "nginx web server") | ||
Container(backend_api, "WIQ REST API","Java SpringBoot 3",".jar file") | ||
ContainerDb(database,"WIQ Database","PostgreSQL","PostgreSQL docker container") | ||
} | ||
System_Ext(wikidata,"WikiData API","REST API") | ||
|
||
'RELATIONS | ||
Rel(player,web_app,"Uses","HTTPS") | ||
Rel(backend_api,wikidata,"Asks for data","SPARQL,HTTPS") | ||
Rel(web_app,backend_api,"Asks for user/game information","JSON,HTTPS") | ||
Rel(backend_api,database,"Stores game/user information","JPA") | ||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters