feat: Delete endpoint signup

This commit is contained in:
Backend IM Bot 2025-03-11 11:03:44 +00:00
parent 9ebc023fa6
commit 87bfe18abd

View File

@ -1,13 +0,0 @@
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", "user": user.username}