Welcome to the Bigbox's Frontend Challenge 2021. Thank you for participating and good luck !
You will need to develop a frontend application for the Books API provided by the NYTimes.
The app should consume the following API: https://developer.nytimes.com/docs/books-product/1/overview
To complete the assignment, you must provide the following functions:
- Save the first 10 results given by the /lists/names.json endpoint.
- As soon as the app is rendered, it should consume the endpoint to obtain the first 10 categories given by the endpoint. We are going to use this list to later search or filter book titles.
- Provide a selection of categories.
- Before the user can search for a specific book, the user should select from the list of categories obtained in 1.
- Provide a search bar.
- Once the category is selected, a search bar should be enabled for the user to look
up for a book by its title. Once the user presses
Enter
, it should query the search using the API.
- Once the category is selected, a search bar should be enabled for the user to look
up for a book by its title. Once the user presses
- Show the search results.
- After the search query to the API, show the
title
,description
andauthor
of every results, if any.
- After the search query to the API, show the
- Link to a Google Search for every result.
- When the users clicks on a result, it should redirect them to a Google Search using the title and author obtained in 4. ie: https://www.google.com/search?q=range+david+epstein
You can use the following API key:
api-key | wMrIxYjKdpTQq76wy7ngPAG1OD0VJy8j |
yarn install
yarn run serve
yarn run lint