Spaces:
Sleeping
Sleeping
Commit History
-
Add user registration endpoint and role support
Introduced a new `/register` endpoint to handle user registration, allowing email, password, and role input. Added a `role` field to `AccountModel` and implemented database logic to ensure unique email constraints during registration.faa9d54
-
add account CRUD
aabf8ec
-
add auth
c6cc0f2
-
finish backend
9150f8e
-
init
50553ea