Back_end / main.py
Ezhil
Git Initialization
f67a585
raw
history blame contribute delete
324 Bytes
from fastapi import FastAPI
from routers.continent import router as continent_router
app = FastAPI(title="World Population API")
# Register routers
app.include_router(continent_router, prefix="/continent", tags=["Continent Stats"])
@app.get("/")
def root():
return {"message": "Welcome to the World Population API!"}