Files
sdb2-backend/app/api/v1/main.py
JSC e456d34897 Add tests for authentication and utilities, and update dependencies
- Created a new test package for services and added tests for AuthService.
- Implemented tests for user registration, login, and token creation.
- Added a new test package for utilities and included tests for password and JWT utilities.
- Updated `uv.lock` to include new dependencies: bcrypt, email-validator, pyjwt, and pytest-asyncio.
2025-07-25 17:48:43 +02:00

17 lines
328 B
Python

"""Main router for v1 endpoints."""
from fastapi import APIRouter
from app.core.logging import get_logger
router = APIRouter()
logger = get_logger(__name__)
@router.get("/")
def health() -> dict[str, str]:
"""Health check endpoint."""
logger.info("Health check endpoint accessed")
return {"status": "healthy"}