NYT Book Review is an application that utilizes the NYT Books API to display best selling books in different categories. Users may view reviews, if available, on selected books.
- cd into the project directory
- From root of directory, install with the following command:
yarn install
- Create a .env file in the root of directory
- Copy contents of .env.sample file in the root of directory into your .env file
- Replace
<yourNytAPIkey>
with your NYT API key
- cd into the project directory
- To run locally, run the following command from the root of directory:
yarn start
- User is first presented with best selling books in the Trade Fiction Paperback category
- Hover over a results card to view full description
- Select the "Reviews" button on a results card to view reviews on that book. If no reviews are availble, "No Reviews Available" will be displayed
- Select a different book category from dropdown in the top right corner
NOTE: The NYT Books API has a call limit of 10 requests per minute. If too many requests are sent too quickly, and error message will display. If this happens wait a few moments and then refresh the page.
- cd into the project directory
- From root of directory, run tests with the following command:
yarn test
- React.js
- NYT Books API
- Material UI
- Sass
- Storybook
- React Testing Library
- prop-types
- classnames
- On GitHub: jpreston-alt
- Via Email: joannappreston@gmail.com