feat(auth): implement JWT authentication with secure password hashing

This commit is contained in:
DS | Schubert 2026-07-02 15:43:00 +02:00
parent 6656a8782c
commit 56df3228a4
7 changed files with 146 additions and 74 deletions

View file

@ -6,6 +6,10 @@ class UserCreate(BaseModel):
email: EmailStr
password: str
class LoginRequest(BaseModel):
username: str
password: str
class UserResponse(BaseModel):
id: int