A simple GoodReads javascript client web app
- Should be able to search the books with name
- Interface to list the books with pagination
- Unit test with any framework
Please refer GoodReads Developer for API References.
Don't worry too much about the aesthetics, should be legible that's it!
Prerequisites: You need to have Node + NPM installed.
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
Right now there is only one test suite. (renders without crashing)
npm test
- Search for books by title, author, or ISBN.
- Displays upto 20 search results in bootstrap cards.
- Displays only title, author, and link to goodreads page.
- See the description and rating, and other details by clicking on individual result.
Some of the things that I want to implement in the future version are:
- Ability to see others' reviews.
- Ability to sign in with github so users can add their own reviews and ratings.