restructured dirs
Browse files- app.py +0 -1
- app/main.py +9 -0
- app/test.py +1 -0
app.py
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
print("Hello")
|
|
|
|
|
|
app/main.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
print("Hello")
|
| 2 |
+
|
| 3 |
+
from fastapi import FastAPI
|
| 4 |
+
|
| 5 |
+
app = FastAPI()
|
| 6 |
+
|
| 7 |
+
@app.get("/")
|
| 8 |
+
async def read_root():
|
| 9 |
+
return {"Hello": "World"}
|
app/test.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
print("Test.py printing")
|