Upload files to "/"
This commit is contained in:
31
Untitled (2).txt
Normal file
31
Untitled (2).txt
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
title Weatherify
|
||||||
|
|
||||||
|
participant user
|
||||||
|
participant Webbapp
|
||||||
|
participant Backend
|
||||||
|
participant Openweathers API
|
||||||
|
participant Weather and genre dic
|
||||||
|
participant Spotifys API
|
||||||
|
|
||||||
|
|
||||||
|
user->Webbapp:register
|
||||||
|
Webbapp->Backend:
|
||||||
|
user<--Webbapp:
|
||||||
|
Webbapp<--Backend:
|
||||||
|
user->Webbapp:login
|
||||||
|
Webbapp->Backend:
|
||||||
|
user<--Webbapp:
|
||||||
|
Webbapp<--Backend:
|
||||||
|
user->Webbapp:User location input
|
||||||
|
Webbapp->Backend:
|
||||||
|
Backend->Openweathers API:POST Location
|
||||||
|
Openweathers API<-Backend:
|
||||||
|
Backend<-Openweathers API: Weather data
|
||||||
|
Openweathers API->Weather and genre dic: Translating weather
|
||||||
|
Weather and genre dic->Spotifys API:Gets tracks
|
||||||
|
Spotifys API<-Backend: Create an empty playlist
|
||||||
|
Spotifys API-->Backend:
|
||||||
|
Spotifys API->Backend: Puts the genrated tracks in empty playlist
|
||||||
|
Backend-->Webbapp:
|
||||||
|
Webbapp-->user:
|
||||||
|
|
||||||
Reference in New Issue
Block a user