add users routers

This commit is contained in:
Valentin CZERYBA 2023-10-10 22:13:47 +02:00
parent 1c35503762
commit 524b4763b7
4 changed files with 9 additions and 0 deletions

0
app/__init__.py Normal file
View File

0
app/main.py Normal file
View File

7
app/routers/users.py Normal file
View File

@ -0,0 +1,7 @@
from fastapi import APIRouter
router = APIRouter()
@router.get("/users/", tags=["users"])
async def read_users():
return [{"username":"toto"}]

2
requierements.txt Normal file
View File

@ -0,0 +1,2 @@
fastapi
uvicorn[standard]