-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Track 5/8] [FE / INT] Users List #13
Comments
Finish |
Step 2/3 - Users List IntegrationEstimated time: 4 hoursLet's get some real data. Your task here is to get the real users list from the server. AuthenticationEvery other request except Login demands an authorization token to be made. This is one way of guaranteeing user authentication. Some reference if you want to know more. So, on the next integration tasks, you should add a header on your HTTP Request:
User list requestThe GraphQL query used for users list is called You'll notice that this request returns a particular kind of structure (count, nodes, pageInfo). This is one way of doing pagination. You'll explore more about this on next step. For now, send the query with no parameters and show the data returned on |
Finish |
Step 3/3: Challenge: Add pagination to the listEstimated time: 4 hoursGenerally, lists with a minimum amount items are paginated. We currently use 3 types of pagination:
That said, your challenge is to add the pagination into the list you've just implement: the users list. Choose one of the implementation types above. |
Next |
Click here for your next track |
Login is done. Now, let's make the user list UI.
Step 1/3 - Users List Frontend (FE)
Estimated time: 3 hours
The blank page you created will list all registered users on our server. Each list cell (or list row) should contain:
Like the login page, you can layout your users list page the way you want. Just remember to keep things simple.
Note: In order to test the frontend, it's a common practice to fill your view components with some fake data. Since you don't have the real data yet, you can create a fake, static user list to test your screen.
The text was updated successfully, but these errors were encountered: