feat(users): add register route

This commit is contained in:
Cullen
2023-07-09 18:42:44 -05:00
parent 50ad65e107
commit b5c5e7d512
11 changed files with 130 additions and 30 deletions

View File

@@ -1,10 +1,18 @@
from pydantic import BaseModel
class User(BaseModel):
username: str
full_name: str
email: str
disabled: bool
disabled: bool = False
class UserCreate(BaseModel):
username: str
full_name: str
email: str
password: str
class UserInDB(User):