init k2 app

This commit is contained in:
GalicIvan
2026-06-25 02:27:52 +02:00
commit 68be13b2e6
8 changed files with 103 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", "GalicIvan")
@app.get("/")
def root():
return {"message": "Kolokvij 2", "autor": AUTOR}
@app.get("/health")
def health():
return {"status": "ok"}