feat: ЛР2 - PostgreSQL, Redis сессии и keyset-пагинация

This commit is contained in:
Ильяс
2026-10-23 12:45:58 +03:00
parent 5893d051c1
commit 9ddb2244bc
25 changed files with 1332 additions and 423 deletions
+3 -1
View File
@@ -13,7 +13,9 @@ router = APIRouter(prefix="/api/v1/users", tags=["users"])
async def create_user(body: CreateUserRequest) -> UserResponse:
"""Регистрация нового пользователя."""
user = await storage.create_user(
username=body.username, display_name=body.display_name
username=body.username,
display_name=body.display_name,
password=body.password,
)
return user