init: FastAPI priprema-za-kolokvij + k8s manifesti (monorepo)

This commit is contained in:
2026-05-26 10:32:01 +02:00
parent ff8a850ae9
commit e1cd23769d
7 changed files with 101 additions and 0 deletions

20
app/main.py Normal file
View File

@@ -0,0 +1,20 @@
app = FastAPI()
@app.get("/")
def root():
return {"message": "Pozdrav svijete!", "autor": "VAŠ_KORISNIK"}
@app.get("/health")
def health():
return {"status": "ok"}
app = FastAPI()
@app.get("/")
def root():
return {"message": "Pozdrav svijete!", "autor": "VAŠ_KORISNIK"}
@app.get("/health")
def health():
return {"status": "ok"}