Open Nightherald opened 11 months ago
Implement a feature allowing new users to register, adding their details to the users table.
users
User
UserCreationSchema
users_service.py
main.py
When the failures start, read the terminal before panicking :)
solved here: https://github.com/Nightherald/aa-workshop-data-models/blob/master/app/demos/users.py
Summary
Implement a feature allowing new users to register, adding their details to the
users
table.Tasks
User
model makes sense, capturing all relevant fields.UserCreationSchema
.users_service.py
, implement a function to add a new user to the database.main.py
to include a demonstration where a new user's details are added using the service when the script runs.Notes
When the failures start, read the terminal before panicking :)