feat(users): add register route

This commit is contained in:
Cullen
2023-07-09 18:42:44 -05:00
committed by Cullen Watson
parent 3b9a491d89
commit 79db9578b4
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):