From 524d0ba3d2d5a88ef861f9cf3b09fac1d1b45bab Mon Sep 17 00:00:00 2001 From: Emmy <07eman1@skola.svedala.se> Date: Wed, 3 Jun 2026 20:40:01 +0200 Subject: [PATCH] Upload files to "/" --- Untitled (2).txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Untitled (2).txt diff --git a/Untitled (2).txt b/Untitled (2).txt new file mode 100644 index 0000000..c9bd2b0 --- /dev/null +++ b/Untitled (2).txt @@ -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: +