The application is hosted on LINK. The application was built using ReactJS. Axios is used to fetch data from openlibrary.org. Ant Design is used for styling and creating loader components. React Router is used to route through the web page.
- The home page of the Library app has a search box which allows user to search books by book title or author name.
- Only 10 results are fetched at a time. User can click on
Next
orPrevious
to see next or previous results. - The search key is visible in the search box and user can clear it.
- It also has a list of 5 subjects in the Home page, clicking on which the page will route to a / URL which lists the top 10 books on the subject.
- User can also input a subject to fetch the books of that particular subject.
- A loader component is shown when API call is in progress.
It took me approximately 1.5 days to complete the assignment.