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