feat: Update endpoint /lmaoooo

This commit is contained in:
Backend IM Bot 2025-03-07 18:23:57 +00:00
parent f6be777bd8
commit 8b489bf35e

View File

@ -1,13 +1 @@
from fastapi import APIRouter, HTTPException
from pydantic import BaseModel
router = APIRouter()
class UserRegistration(BaseModel):
username: str
password: str
email: str
@router.post("/signup")
async def signup(user: UserRegistration):
return {"message": "User registered successfully. Whooo!", "user": user.username}
new edit