first commit

This commit is contained in:
2026-06-25 11:47:28 +02:00
commit 553330cdcb
7 changed files with 89 additions and 0 deletions

14
app/main.py Normal file
View File

@@ -0,0 +1,14 @@
import os
from fastapi import FastAPI
app = FastAPI()
AUTOR = os.getenv("AUTOR", "nepoznat")
@app.get("/")
def root():
return {"message": "Ispitni rok 1", "autor": AUTOR}
@app.get("/health")
def health():
return {"status": "ok"}