#!/usr/bin/env python3 """Entry point for fastapi app NOTE: - """ from app.core.config import settings from typing import Union from fastapi import FastAPI from backend.app.api.endpoints.clients import router as clients_router from backend.app.api.endpoints.suppliers import router as supplier_router from backend.app.api.endpoints.products import router as product_router app = FastAPI( title=settings.project_name, openapi_url=f"{settings.api_v1_str}/openapi.json" ) @app.get("/") def read_root(): """ """ return {"Hello": "World"} app.include_router(clients_router, tags=["clients"]) app.include_router(supplier_router, tags=["suppliers"]) app.include_router(product_router, tags=["products"])