Implement auth

I basically copied this article https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt
This commit is contained in:
2026-05-08 13:17:32 +02:00
parent 6243618abb
commit 6ad50df3c2
4 changed files with 116 additions and 2 deletions

View File

@@ -42,7 +42,14 @@ Plan:
Erstelle gruppe
Erstelle AA mit Timeslot
Registriere karte -> gruppe
CRUD
create(post)
read(get)[all items]
read(get)[single item]
update(put/patch)
delete(delete)
zeitplan
Hier bin ich nicht sicher, ich denke an cron style für wiederholende dinge aber das kann nur zeitpunkte und keine blöcke.
Villeicht ne liste von cron zeiten [ "0 16 * * 2" "0 18 * * 2" ](Wäre dienstag 16-18 uhr) - Ist aber warscheinlich schwer zu parsen