Book Search App is a simple React and Next.js application that allows users to search for books using keywords. The app uses the Google Books API to fetch information about the books and displays them on the screen.
See Live : Here
- Search for books by entering keywords in the input field
- View up to 20 search results
- Click on the "Details" icon to view more information about the book, such as page count, description, and publication year
- If the user tries to submit the form without entering any keywords, they will be alerted
- If the book title is more than 30 characters long, an ellipsis will be displayed
The Book Search App has been built using the following technologies:
- React.js and Next.js for state management using Context API
- Axios for making HTTP requests to the API
- Google Books API to fetch information about books
- Tailwind CSS for UI design
- React Icons for icons
To run the Book Search App, follow these steps:
-
Clone the repository to your local machine.
-
Install the dependencies using the npm install command.
npm install
-
Start the development server using the npm run dev command.
npm run dev # or yarn dev # or pnpm dev
-
Open your browser and navigate to http://localhost:3000.