joyjonesmark's picture
initial commit
a1a172c
raw
history blame contribute delete
318 Bytes
from fastapi import FastAPI
from backend.routers import population # Absolute import
from backend.utils.logger import setup_logging # Absolute import
app = FastAPI()
setup_logging()
app.include_router(population.router)
@app.get("/")
def read_root():
return {"message": "Welcome to the World Population API."}