Chittrarasu's picture
backend deploymemt
a90a6d5
raw
history blame
373 Bytes
from fastapi import FastAPI
from routes.continents import router
from logger import logger
from routes.continents import router
app = FastAPI()
# Include API routes
app.include_router(router)
logger.info("Starting FastAPI application...")
@app.get("/")
def home():
logger.info("Home endpoint accessed")
return {"message": "Welcome to the World Population API"}