| 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"]) | |
| def root(): | |
| return {"message": "Welcome to the World Population API!"} | |