Initial commit - Migrated to Dev environment

This commit is contained in:
2026-02-03 19:55:45 +00:00
commit a34e5b7976
3518 changed files with 481663 additions and 0 deletions

16
backend/app/schemas/auth.py Executable file
View File

@@ -0,0 +1,16 @@
from pydantic import BaseModel, EmailStr, Field
from typing import Optional
class Token(BaseModel):
access_token: str
token_type: str
class TokenData(BaseModel):
email: Optional[str] = None
class UserRegister(BaseModel):
email: EmailStr
password: str = Field(..., min_length=8)
full_name: str
region_code: str = "HU"
device_id: str # Az eszköz egyedi azonosítója a védelemhez