doing tests
This commit is contained in:
@@ -8,6 +8,9 @@ app = FastAPI(
|
|||||||
version="1.0.0",
|
version="1.0.0",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@app.post("/api/echo")
|
||||||
|
async def foo(payload: dict):
|
||||||
|
return {"received_payload": payload}
|
||||||
|
|
||||||
@app.get("/api/data")
|
@app.get("/api/data")
|
||||||
def get_sample_data():
|
def get_sample_data():
|
||||||
@@ -73,6 +76,7 @@ def read_root():
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1rem 2rem;
|
padding: 1rem 2rem;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
|
background-color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
fastapi
|
fastapi
|
||||||
uvicorn
|
uvicorn
|
||||||
|
pyTelegramBotAPI
|
||||||
|
psycopg2-binary
|
||||||
Reference in New Issue
Block a user