Add user settings endpoint and exchange rate fallback APIs

Backend now stores user settings (dashboard config) in a JSONB column and
exposes CRUD via /settings/. Exchange rate service gains multiple fallback
providers (ExchangeRate-API, currency-api, FloatRates) so USD/CRC rates
stay available when BCCR is down.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Carlos Escalante
2026-03-22 14:45:20 -06:00
parent 58ab395d95
commit 4d468036c6
4 changed files with 198 additions and 28 deletions

View File

@@ -7,6 +7,7 @@ from app.api.v1.endpoints import (
categories,
exchange_rate,
import_transactions,
settings,
tokens,
transactions,
)
@@ -20,3 +21,4 @@ api_router.include_router(import_transactions.router)
api_router.include_router(exchange_rate.router)
api_router.include_router(tokens.router)
api_router.include_router(analytics.router)
api_router.include_router(settings.router)