This commit is contained in:
ITO Mac
2026-05-26 10:23:44 +02:00
parent e989617b6d
commit c8cd541348
7 changed files with 92 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": "VAŠ_KORISNIK"}
@app.get("/health")
def health():
return {"status": "ok"}