File size: 248 Bytes
1330377
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from fastapi import FastAPI
from DBFiles.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)