Creating Users
If we want to enable the creation of users, we must follow the same steps that we took when creating to-do items. These steps are the following:
Define insert user database transaction in the data access layer
Add a create user API endpoint in our core
Add a create user API endpoint in our networking layer
As there is some repetition here, this is a good place for you to practice your understanding of our system by carrying out the steps yourself. If you do attempt the steps yourself, hopefully your code will resemble the approach that we cover.