This is a frontend assessment built by Adedayo Moshood, in the TalentQL Pipeline Application.
The task is to build a simple frontend app for paginated data, that does the following
-
Fetches data from
https://randomapi.com/api/8csrgnjw?key=LEIX-GF3O-AG7I-6J84
which can be paged by appending&page=N
where N is the page you want to fetch. E.g appending&page=1
retrieves the first page, while&page=4
retrieves the 4th page. -
Displays the fetched data in a HTML table with 5 rows (the API only returns 5 records), and allows the user to page next/previous with buttons in the UI
The full details and instructions of this assessment can be found in this Google Doc
To get this application up and running. You need to have Node.js
and yarn
or npm
$ yarn
$ yarn start