diff --git a/app/__init__.py b/app/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/app/main.py b/app/main.py new file mode 100644 index 0000000..e69de29 diff --git a/app/routers/users.py b/app/routers/users.py new file mode 100644 index 0000000..e3352a8 --- /dev/null +++ b/app/routers/users.py @@ -0,0 +1,7 @@ +from fastapi import APIRouter + +router = APIRouter() + +@router.get("/users/", tags=["users"]) +async def read_users(): + return [{"username":"toto"}] \ No newline at end of file diff --git a/requierements.txt b/requierements.txt new file mode 100644 index 0000000..8e0578a --- /dev/null +++ b/requierements.txt @@ -0,0 +1,2 @@ +fastapi +uvicorn[standard] \ No newline at end of file