from fastapi import FastAPI app = FastAPI() @app.get("/") def root(): return {"message": "Pozdrav svijete.", "autor": "Dinko Galić"} @ap.get("/health") def health(): return {"status": "OK"}