2025-03-07 23:00:45 +00:00

10 lines
250 B
Python

from fastapi import APIRouter
#this is the router
router = APIRouter()
@router.post("/login")
async def login(username: str, password: str):
return {"message": "User logged in successfully", "username": username}
#here you can add other things