diff --git a/README.md b/README.md index 8b3bb79..1972572 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,6 @@ Requirements: uvicorn[standard] SQLAlchemy psycopg2-binary - python-dotenv \ No newline at end of file + python-dotenv + +Starting command: uvicorn app.main:app --reload. \ No newline at end of file diff --git a/src/app/txt b/src/__init__.py similarity index 100% rename from src/app/txt rename to src/__init__.py diff --git a/src/__pycache__/__init__.cpython-311.pyc b/src/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..44f2764 Binary files /dev/null and b/src/__pycache__/__init__.cpython-311.pyc differ diff --git a/src/app/__init__.py b/src/app/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/app/__pycache__/__init__.cpython-311.pyc b/src/app/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..a5f1b7c Binary files /dev/null and b/src/app/__pycache__/__init__.cpython-311.pyc differ diff --git a/src/app/__pycache__/main.cpython-311.pyc b/src/app/__pycache__/main.cpython-311.pyc new file mode 100644 index 0000000..17c9dec Binary files /dev/null and b/src/app/__pycache__/main.cpython-311.pyc differ diff --git a/src/app/main.py b/src/app/main.py new file mode 100644 index 0000000..4fab353 --- /dev/null +++ b/src/app/main.py @@ -0,0 +1,7 @@ +from fastapi import FastAPI + +app = FastAPI() + +app.get("/") +async def root(): + return {"massege": "Hello world"} \ No newline at end of file