This application uses goodreads api to look for books by title, author or isbn code.
This project was bootstrapped with create-react-app and deployed live at http://book-search-react-app.herokuapp.com/
Prerequisites: You need to have Node + NPM installed.
For local run to avoid CORS error use this link: https://cors-anywhere.herokuapp.com/
Required Environment Variables:
REACT_APP_API_KEY : Goodreads API Key you can get from here.
Save it in the .env file as described here
Having done that, here is how to run the application locally in development mode.
Clone the repo:
git clone https://github.com/niinpatel/goodreads-react.git
Install dependencies:
npm install
Starting the application in development mode:
npm start
To build the production assets, run
npm run build
- Search for books by title, author, or ISBN.
- Displays upto 20 search results in bootstrap cards.
- Displays only title, author, and link button to book detail page.
- See the description and rating, and other details by clicking on more info button.
Some of the things that I want to implement in the future version are:
- We can display book search result with pagination.
- Ability to see Rating details.
- Ability to see others' reviews.
- Ability to sign in with github so users can add their own reviews and ratings.