An open API service indexing awesome lists of open source software.

https://github.com/johnexzy/pipeline-eligibility-project

A simple Frontend assessment task
https://github.com/johnexzy/pipeline-eligibility-project

assesment

Last synced: 7 months ago
JSON representation

A simple Frontend assessment task

Awesome Lists containing this project

README

          

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/8c4afc4a6b0d40f98a4aa2cc32c25404)](https://www.codacy.com/gh/johnexzy/pipeline-eligibility-project/dashboard?utm_source=github.com&utm_medium=referral&utm_content=johnexzy/pipeline-eligibility-project&utm_campaign=Badge_Grade)

# Frontend Assessment

A very simple frontend app for paginated data, it does the following
1. Fetches (randomised) 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.
2. 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
## Note
1. This comes as a purely HTML/CSS/TS project with [Parcel](https://parceljs.org/docs/) handling build and transpilation.