Automated Action d4b0ceed9c Implement Task Manager API with FastAPI and SQLite
- Setup project structure and FastAPI application
- Configure SQLite database with SQLAlchemy ORM
- Setup Alembic for database migrations
- Implement user authentication with JWT
- Create task models and CRUD operations
- Implement task assignment functionality
- Add detailed API documentation
- Create comprehensive README with usage instructions
- Lint code with Ruff
2025-06-08 18:02:43 +00:00

21 lines
424 B
Python

from fastapi import APIRouter
from starlette.responses import JSONResponse
from app.core.config import settings
router = APIRouter()
@router.get("/")
async def health_check():
"""
Check if the API service is running properly
"""
return JSONResponse(
content={
"status": "healthy",
"version": settings.VERSION,
"project": settings.PROJECT_NAME,
}
)