begin
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
@app.get("/")
|
||||
def read_root():
|
||||
return {"status": "ok", "service": "riabenkyi-api"}
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return {"health": "ok"}
|
||||
Reference in New Issue
Block a user