standard fastapi
This commit is contained in:
@@ -6,3 +6,5 @@ Requirements:
|
||||
SQLAlchemy
|
||||
psycopg2-binary
|
||||
python-dotenv
|
||||
|
||||
Starting command: uvicorn app.main:app --reload.
|
||||
BIN
src/__pycache__/__init__.cpython-311.pyc
Normal file
BIN
src/__pycache__/__init__.cpython-311.pyc
Normal file
Binary file not shown.
0
src/app/__init__.py
Normal file
0
src/app/__init__.py
Normal file
BIN
src/app/__pycache__/__init__.cpython-311.pyc
Normal file
BIN
src/app/__pycache__/__init__.cpython-311.pyc
Normal file
Binary file not shown.
BIN
src/app/__pycache__/main.cpython-311.pyc
Normal file
BIN
src/app/__pycache__/main.cpython-311.pyc
Normal file
Binary file not shown.
7
src/app/main.py
Normal file
7
src/app/main.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
app.get("/")
|
||||
async def root():
|
||||
return {"massege": "Hello world"}
|
||||
Reference in New Issue
Block a user