from fastapi import FastAPI app = FastAPI() @app.get("/") def root(): return { "message": "Pozdrav svijete!", "autor": "iva" } @app.get("/health") def health(): return { "status": "ok" }