from fastapi import FastAPI, status
from fastapi.responses import JSONResponse

from app.api.endpoints import items
from app.utils import ok_status

app = FastAPI()
app.include_router(items.router)


@app.get("/")
async def root():
    # return {"message": "Hello Bigger Applications!"}

    return JSONResponse(
        status_code=status.HTTP_200_OK,
        content=ok_status
    )

from fastapi import FastAPI, status
from fastapi.responses import JSONResponse

from app.api.endpoints import items
from app.utils import ok_status

app = FastAPI()
app.include_router(items.router)


@app.get("/")
async def root():
    # return {"message": "Hello Bigger Applications!"}

    return JSONResponse(
        status_code=status.HTTP_200_OK,
        content=ok_status
    )

# return {"message": "Hello Bigger Applications!"}