| ... | ... | @@ -31,7 +31,6 @@ DividerBorderColor #00cc92 |
|
|
|
box "Front-end"
|
|
|
|
actor Player
|
|
|
|
actor Gamemaster as GM
|
|
|
|
participant App
|
|
|
|
end box
|
|
|
|
box "Back-end"
|
|
|
|
participant Node
|
| ... | ... | @@ -41,12 +40,16 @@ end box |
|
|
|
|
|
|
|
== Player submission ==
|
|
|
|
|
|
|
|
Player-> App : Submit photo
|
|
|
|
App -> Node ++ : AddFile REST
|
|
|
|
Player -> Node ++ : AddFile REST
|
|
|
|
Node -> DB : Create/update submission
|
|
|
|
Node -> Minio : Add file
|
|
|
|
Node --> App : //response 200//
|
|
|
|
Node --> Player : //response 200//
|
|
|
|
Node -> GM -- : NewFile socket
|
|
|
|
GM -> Node ++ : FetchFile REST
|
|
|
|
Node -> Minio ++ : Get File
|
|
|
|
Minio --> Node -- : Response
|
|
|
|
Node --> GM -- : Response
|
|
|
|
Note left: Show submission image
|
|
|
|
|
|
|
|
== Gamemaster review ==
|
|
|
|
|
| ... | ... | |
| ... | ... | |