Skip to content

raulvictorrosa/frontend-challenge

 
 

Repository files navigation

Instructions

To start using this project you need to set the environment variable REACT_APP_GOOGLE_BOOKS_API with the google api link that at the moment is https://www.googleapis.com/books/v1/volumes and the variable with your google api key as REACT_APP_GOOGLE_BOOKS_API_KEY with the key provided by google in the page https://console.cloud.google.com/marketplace/product/google/books.googleapis.com.

Frontend Challenge

Clone this repository and start our challenge right now

Use React or React Native depending on the rule you are running for.

NOTE: If you have any questions regarding the test, just send us your question on Slack's channel #challenge-foton on React Brasil.

API

Use the Google Books' API to recover the data that will be shown on the app.

const query = 'harry potter';
fetch(`https://www.googleapis.com/books/v1/volumes?q=${query}`);

NOTE: You can use the form of calling apis of your choice (Fetch, Axios, etc).

Design/Screens

https://www.figma.com/file/KFElqzD983WNyvMY1SaF0c/book-app?node-id=0%3A1

Screen Shot 2021-04-13 at 10 19 47

The website design has 3 screens, which are:

Home

  1. Create a Pixel Perfect screen based on design above;
  2. The books must be clickable and redirect to details screen.

Search

In this screen the functionalities below are mandatory:

  1. See a list of books based on search query;
  2. Make it possible to search for more books with a "Load more" button;
  3. Search books by name;
  4. Click on one of the books to see their details.

Books details

In this screen the functionalities below are mandatory:

  1. See all information for the selected book.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.7%
  • SCSS 4.1%
  • HTML 3.0%
  • Shell 0.2%