Closed taki-tiler[bot] closed 2 months ago
finish
After you create the frontend, it's time to send this data to the server for creating the user.
The mutation used to create an user is the createUser
mutation. Docs in Documentation Explorer.
When this integration is done, your screen should:
finish
Click here for your next track
Step 1/2 - Add User Screen Frontend (FE)
Estimated time: 2 hours
Now, we need an Add User Screen so we can... well... add new user users into our app. 😑
Add a button on your users list to navigate to your new
Add User
page. It can be a FAB - Floating Action Button, a button on the navigation bar or some other implementation you research on a good internet reference.Your screen should have:
A form field for each of the properties that are listed in
User
GraphQL typeAn
Add user
buttonFields validation, like on your login page, but according to the field type. Examples:
UserRole
enumNOTE: following the process of previous tracks, this step contemplates only FE