- 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.
17 lines
328 B
Python
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"}
|