prvi commit

This commit is contained in:
2026-05-26 10:24:17 +02:00
commit 5a29838538
7 changed files with 105 additions and 0 deletions

16
app/main.py Normal file
View File

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