6 Commits

Author SHA1 Message Date
6ad50df3c2 Implement auth
I basically copied this article https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt
2026-05-08 13:17:32 +02:00
f5a5cb378e Create and use get_session, add_and_refresh function 2026-04-25 14:51:35 +02:00
ab222533ed Make db creation a explicit on startup instead of import 2026-04-24 15:30:44 +02:00
22e57996c2 Finish sqlmodel migration
- merge card.py, user.py and dbmodels.py into models.py
- deduplicate
- change responsemodels in the manager functions
- correct inports
2026-04-23 22:41:48 +02:00
287235243a switch orm to sqlmodel 2026-04-18 23:40:44 +02:00
1434d6f541 change structure to make package build 2026-04-15 10:04:23 +02:00