
- 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
21 lines
424 B
Python
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,
|
|
}
|
|
)
|