Welcome to
Hirademy Books is a mini frontend application built with React.js to display a list of books and their details. The application uses component-based architecture, dynamic data loading from APIs, and includes pagination functionality for easy navigation between book pages.
You can access a live demo of the application deployed on Vercel here.
- Display a list of books dynamically loaded from an API.
- View detailed information of a selected book.
- Pagination to navigate through the book list.
- Frontend Framework: React.js
- CSS Framework: Custom CSS with responsive design principles
- API Testing: Postman
- Deployment: Vercel
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Prathamesh0901/book-management.git cd book-management
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
The application will be available at http://localhost:5173/
.
- URL:
/books
- Description: Displays links to all books. Each book name is a clickable link that navigates to the Book Details Page.
- API:
GET /Books
- URL:
/books/:id
- Description: Displays detailed information of the selected book, including title, ISBN, page count, and authors.
- API:
GET /Books/:id
-
GET /Books
- URL:
http://softwium.com/api/books
- Description: Fetches the list of all books.
- URL:
-
GET /Books/:id
- URL:
http://softwium.com/api/books/:id
- Description: Fetches details of a specific book by its ID.
- URL:
Displays the application title "Hirademy Books".
Displays a list of books with pagination. Each book is clickable and navigates to the book details page.
Handles page navigation and allows users to navigate through the book list.
Displays a loading spinner when data is being fetched from the API.
Displays an error message when there is an issue fetching data from the API.
Displays detailed information of a selected book, including its image, title, ISBN, page count, and authors.
This project is licensed under the MIT License. See the LICENSE file for details.