refactor: reorganize the whole project layout
Build and Push to Registry / build (push) Successful in 8s

This commit is contained in:
2026-04-12 23:07:39 +02:00 Unverified
parent 1fdaa51604
commit 9d8019b35a
19 changed files with 32 additions and 26 deletions
+4 -3
View File
@@ -5,13 +5,14 @@ from uuid import uuid4
from authlib.jose import jwt # type: ignore
from authlib.jose.errors import JoseError # type: ignore
from core.config import settings
from db.auth import get_user_by_username, is_token_revoked
from fastapi import Depends, HTTPException, status
from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer
from models.auth import AccessTokenPayload, AuthUserDocument
from passlib.context import CryptContext
from core.config import settings
from models.auth import AccessTokenPayload, AuthUserDocument
from repositories.auth import get_user_by_username, is_token_revoked
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
bearer_scheme = HTTPBearer(auto_error=False)