Skip to content

A simple web application built with TypeScript, React, and React Bootstrap that allows users to search for books using the Open Library API. Users can enter a book name, toggle sorting by relevance or year of publication, and navigate through paginated search results.

Notifications You must be signed in to change notification settings

Darshan1510/open-book-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Search App

A simple web application built with TypeScript, React, and React Bootstrap that allows users to search for books using the Open Library API. Users can enter a book name, toggle sorting by relevance or year of publication, and navigate through paginated search results.

Live Demo

Visit the Live Demo to see the application in action.

Features

  • Search: Enter a book name to search for relevant books using the Open Library API.
  • Sorting: Toggle between sorting search results by relevance or year of publication.
  • Pagination: Navigate through paginated search results.

Technologies Used

  • TypeScript: Provides type safety and improves developer productivity.
  • React: JavaScript library for building user interfaces.
  • React Bootstrap: Bootstrap components built for React, providing ready-to-use UI elements.
  • Axios: Promise-based HTTP client for making API requests.

Getting Started

Prerequisites

  • Node.js and npm (Node Package Manager) installed on your local machine.

Installation

  1. Clone the repository:

    git clone https://github.com/Darshan1510/open-book-search.git
    cd open-book-search
  2. Install dependencies:

    npm install

Running the Application

  1. Start the development server:

    npm start
  2. Open http://localhost:3000 in your browser to view the application.

Usage

  • Enter a book name in the search box and it will show you the appropriate results.
  • Toggle the switch to sort search results by relevance or year of publication.
  • Navigate through paginated search results using the pagination controls.

Deployment

  • To deploy this application, build the project for production:

    npm run build
  • Deploy the build folder to your hosting service.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

A simple web application built with TypeScript, React, and React Bootstrap that allows users to search for books using the Open Library API. Users can enter a book name, toggle sorting by relevance or year of publication, and navigate through paginated search results.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published