BookBuddy is a user-friendly React application that allows users to browse, add, favorite, and delete books. It integrates with a local JSON Server backend and the Open Library API to create a dynamic and interactive book management experience.
- 🔍 Browse books with cover images, genre, and author info
- ➕ Add new books via a responsive form
- 🗑️ Permanently delete books from the backend
- 💖 Mark books as favorites (stored in localStorage)
- 📖 Toggle book descriptions
- 🔗 Link to external book sources via Open Library
| Frontend | Backend | Tools |
|---|---|---|
| React | JSON Server | Vite |
| JSX | REST API | Git |
| CSS | localStorage | Open Library API |
git clone https://github.com/your-username/bookbuddy.git
cd bookbuddynpm installCreate a `db.json` file in the root directory:
Start the server:
json-server --watch db.json --port 3001npm run devVisit http://localhost:5173 to view the app.
bookbuddy/ ├── public/ ├── src/ │ ├── pages/ │ │ └── Home.jsx │ ├── App.jsx │ └── main.jsx ├── db.json ├── README.md └── package.json
This project is licensed under the MIT License.