This commit is contained in:
Eden Kirin
2023-08-25 21:54:30 +02:00
commit 97be2871d4
6 changed files with 555 additions and 0 deletions

9
main.py Normal file
View File

@ -0,0 +1,9 @@
from litestar import Litestar, get
@get("/")
async def hello_world() -> str:
return "Hello, world!"
app = Litestar([hello_world])