feat(backend): Moved the unirate API to the backend

This commit is contained in:
ribardej
2025-11-11 16:01:11 +01:00
parent 8575ef8ff5
commit 5954e56956
7 changed files with 93 additions and 43 deletions

View File

@@ -21,6 +21,7 @@ from app.api.auth import router as auth_router
from app.api.csas import router as csas_router
from app.api.categories import router as categories_router
from app.api.transactions import router as transactions_router
from app.api.exchange_rates import router as exchange_rates_router
from app.services.user_service import auth_backend, current_active_verified_user, fastapi_users, get_oauth_provider, \
UserManager, get_jwt_strategy
from app.core.security import extract_bearer_token, is_token_revoked, decode_and_verify_jwt
@@ -74,6 +75,7 @@ if not os.getenv("PYTEST_RUN_CONFIG"):
fastApi.include_router(auth_router)
fastApi.include_router(categories_router)
fastApi.include_router(transactions_router)
fastApi.include_router(exchange_rates_router)
for h in list(logging.root.handlers):
logging.root.removeHandler(h)