from fastapi import APIRouter, status router = APIRouter() @router.get("/new", status_code=status.HTTP_200_OK) async def project_status(): return {"message": "the project works"}