A front-end app developed for Foton Frontend Challenge.
Running at Vercel.
NOTE: If you have any questions regarding the test, just send us your question on our Discord's channel #technical-challenge on Foton Discord.
App finished and deployed at Vercel. Demo.
You need to have Git and Node.js installed on your computer to work properly.
$ git clone https://github.com/lucas-barbosa/frontend-challenge.git
$ cd foton-books
$ yarn storybook
$ git clone https://github.com/lucas-barbosa/frontend-challenge.git
$ cd foton-books
$ yarn test
$ git clone https://github.com/lucas-barbosa/frontend-challenge.git
$ cd foton-books
$ yarn build
$ yarn start
The following techs were used to make this app.
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).
https://www.figma.com/file/KFElqzD983WNyvMY1SaF0c/book-app?node-id=0%3A1
The website design has 3 screens, which are:
- Create a Pixel Perfect screen based on design above;
- The books must be clickable and redirect to details screen.
In this screen the functionalities below are mandatory:
- See a list of books based on search query;
- Make it possible to search for more books with a "Load more" button;
- Search books by name;
- Click on one of the books to see their details.
In this screen the functionalities below are mandatory:
- See all information for the selected book.