{"id":25452779,"url":"https://github.com/lakshay1341/bookmanagement_rest_api","last_synced_at":"2026-04-11T17:46:50.567Z","repository":{"id":277792169,"uuid":"933507636","full_name":"lakshay1341/BookManagement_REST_API","owner":"lakshay1341","description":"This is a Book Management System frontend built with HTML, CSS, and JavaScript that interacts with Spring-boot REST API to manage books. It allows users to add, update, and delete books dynamically.","archived":false,"fork":false,"pushed_at":"2025-02-16T09:16:18.000Z","size":280,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T07:02:07.442Z","etag":null,"topics":["css","html","javascript","lombok","maven","mysql","rest-api","spring-boot","spring-data-jpa"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lakshay1341.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-16T05:50:44.000Z","updated_at":"2025-03-07T04:44:50.000Z","dependencies_parsed_at":"2025-06-07T07:01:24.554Z","dependency_job_id":"cd195a42-3868-4de4-8368-4554458fa9ac","html_url":"https://github.com/lakshay1341/BookManagement_REST_API","commit_stats":null,"previous_names":["lakshay1341/bookmanagement_rest_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lakshay1341/BookManagement_REST_API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshay1341%2FBookManagement_REST_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshay1341%2FBookManagement_REST_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshay1341%2FBookManagement_REST_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshay1341%2FBookManagement_REST_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lakshay1341","download_url":"https://codeload.github.com/lakshay1341/BookManagement_REST_API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lakshay1341%2FBookManagement_REST_API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264375625,"owners_count":23598418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","html","javascript","lombok","maven","mysql","rest-api","spring-boot","spring-data-jpa"],"created_at":"2025-02-17T23:41:34.748Z","updated_at":"2026-04-11T17:46:50.561Z","avatar_url":"https://github.com/lakshay1341.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 Book Management System\n\nThis is a **Book Management System** frontend built with **HTML, CSS, and JavaScript** that interacts with **Spring-boot REST API** to manage books. It allows users to **add, update, and delete books** dynamically.\n\n---\n\n## 🚀 Features\n- 📚 Fetch and display books from a REST API.\n- ➕ Add new books with a form.\n- ✏️ Update book details using a modal.\n- 🗑️ Delete books with a confirmation prompt.\n- 🎨 Responsive UI with a clean design.\n\n---\n\n## 🛠️ Setup Instructions\n\n### **1️⃣ Clone the Repository**\n```sh\ngit clone https://github.com/lakshay1341/BookManagement_REST_API.git\ncd BookManagement_REST_API\n```\n\n### **2️⃣ Start the Backend**\nEnsure that the backend REST API is running. If using **Spring Boot**, start it with:\n```sh\nmvn spring-boot:run\n```\n\n### **3️⃣ Open the Frontend**\nSimply open the `index.html` file in your browser.\n\n---\n\n## 📌 Usage\n\n### ➕ **Add a New Book**\n1. Click the `+ Add New Book` button.\n2. Enter the **Title, Author, and Price**.\n3. Click **\"Add Book\"**, and the book will be saved.\n\n### ✏️ **Update a Book**\n1. Click the **\"Update\"** button next to a book.\n2. Modify the details in the update modal.\n3. Click **\"Update Book\"**, and the changes will be saved.\n\n### 🗑️ **Delete a Book**\n1. Click the **🗑️ Delete** button.\n2. Confirm the deletion, and the book will be removed.\n\n---\n\n## 🌐 API Endpoints\n| Method | Endpoint | Description |\n|--------|---------|------------|\n| **GET** | `/api/book/all` | Fetch all books |\n| **POST** | `/api/book/create` | Add a new book |\n| **PUT** | `/api/book/modify` | Update a book |\n| **FIND** | `/api/book/find/{id}` | Find a book |\n| **DELETE** | `/api/book/remove/{id}` | Delete a book |\n\n---\n\n## 🖼️ Screenshots\n### **📌 Home Page**\n![Home Page](https://github.com/lakshay1341/BookManagement_REST_API/blob/main/BookManagement_Images/list.png)\n\n### **📌 Add Book Modal**\n![Add Book](https://github.com/lakshay1341/BookManagement_REST_API/blob/main/BookManagement_Images/create.png)\n\n### **📌 Update Book Modal**\n![Update Book](https://github.com/lakshay1341/BookManagement_REST_API/blob/main/BookManagement_Images/update.png)\n\n---\n\n## 🛠️ Technologies Used\n- **Frontend:** HTML, CSS, JavaScript (Vanilla JS)\n- **Backend:** REST API (Spring Boot)\n- **Database:** MySQL\n\n---\n\n## 🐝 Contributing\nContributions are welcome! Feel free to fork the repo and submit a pull request.\n\n---\n\n## 🐝 Issues\nIf you encounter any issues, please [open an issue](https://github.com/lakshay1341/BookManagement_REST_API/issues).\n\n---\n\n## 🐜 License\nThis project is open-source and available under the **MIT License**.\n\n👨‍💻 **Developed by [Lakshay](https://github.com/lakshay1341)**  \n🌟 **If you like this project, give it a star on GitHub!** 🌟\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakshay1341%2Fbookmanagement_rest_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flakshay1341%2Fbookmanagement_rest_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakshay1341%2Fbookmanagement_rest_api/lists"}