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

This commit is contained in:
2026-06-04 11:37:10 +02:00
commit ab1326eafb
7 changed files with 91 additions and 0 deletions

11
app/main.py Normal file
View File

@@ -0,0 +1,11 @@
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"}