ONesAPI / server /__init__.py
BinaryONe
Initial Commit
1330377
from fastapi import FastAPI
from .listing import router as listing_router
app = FastAPI()
@app.get("/")
def read_root():
return {"message": "Welcome to the API"}
# Include the router from Listing.py
app.include_router(listing_router)