Backend / app.py
Kabila22's picture
Second commit
2056291
raw
history blame contribute delete
283 Bytes
from fastapi import FastAPI
from api.routes import router
from utils.logger import logger
app = FastAPI()
# Include routes
app.include_router(router)
@app.get("/")
def home():
logger.info("Accessed home endpoint.")
return {"message": "Welcome to the World Population API"}