Add entrypoint for fastapi application
Signed-off-by: vjanz <valon.januzaj98@gmail.com>
This commit is contained in:
parent
d3cd1be1ff
commit
82baed0373
8
fastapi/app/main.py
Normal file
8
fastapi/app/main.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
from fastapi import FastAPI
|
||||||
|
|
||||||
|
app = FastAPI()
|
||||||
|
|
||||||
|
|
||||||
|
@app.get("/")
|
||||||
|
def hello_world():
|
||||||
|
return {"message": "OK"}
|
Loading…
Reference in New Issue
Block a user