Structure <root> ├── app/ │ ├── __init__.py │ └── main.py ├── docker-compose.yml ├── Dockerfile ├── .gitignore ├── LICENSE ├── poetry.lock ├── pyproject.toml └── README.md Main App # app/main.py from fastapi import FastAPI app = FastAPI() @app.get("/") def status() -> Dict[str, str]: return {"status": "ok"} @app.get("/about") -> Dict[str, str]: def about() -> Dict[str, str]: return {"": ""}