This commit is contained in:
Donatas Rasiukevicius
2024-06-11 08:47:33 +02:00
commit 06849866f8
5 changed files with 1105 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
__pycache__/
.venv/

0
README.md Normal file
View File

7
fastapi_app/main.py Normal file
View File

@@ -0,0 +1,7 @@
from fastapi import FastAPI
app = FastAPI(port=8080)
@app.get("/")
def index():
return {"message": "Hello, World!"}

1081
poetry.lock generated Normal file

File diff suppressed because it is too large Load Diff

15
pyproject.toml Normal file
View File

@@ -0,0 +1,15 @@
[tool.poetry]
name = "fastapi-app"
version = "0.1.0"
description = ""
authors = ["Donatas Rasiukevicius <donatas@fly.io>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.111.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"