{"id":24013661,"url":"https://github.com/techycode-01/library_management_system","last_synced_at":"2026-04-17T09:31:14.075Z","repository":{"id":271240074,"uuid":"912792102","full_name":"techycode-01/Library_Management_System","owner":"techycode-01","description":"Library Management System built with Spring Boot for managing authors, books, members, and loans. It supports CRUD operations and provides an API for managing library resources.","archived":false,"fork":false,"pushed_at":"2025-01-06T13:04:18.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T16:49:54.752Z","etag":null,"topics":["association-mapping","postgresql-database","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techycode-01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-01-06T12:03:02.000Z","updated_at":"2025-01-10T08:55:04.000Z","dependencies_parsed_at":"2025-01-06T14:20:16.165Z","dependency_job_id":"076c829c-de1e-4abe-aee0-bb95bfde7600","html_url":"https://github.com/techycode-01/Library_Management_System","commit_stats":null,"previous_names":["techycode-01/library_management_system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techycode-01/Library_Management_System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techycode-01%2FLibrary_Management_System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techycode-01%2FLibrary_Management_System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techycode-01%2FLibrary_Management_System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techycode-01%2FLibrary_Management_System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techycode-01","download_url":"https://codeload.github.com/techycode-01/Library_Management_System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techycode-01%2FLibrary_Management_System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["association-mapping","postgresql-database","spring-boot"],"created_at":"2025-01-08T06:56:22.946Z","updated_at":"2026-04-17T09:31:14.059Z","avatar_url":"https://github.com/techycode-01.png","language":"Java","readme":"# Library Management System\n\n## Project Overview\nThis Library Management System is a Spring Boot-based application designed to manage books, authors, members, and loans in a library. It allows users to:\n- Manage authors, books, members, and loans.\n- Perform CRUD (Create, Read, Update, Delete) operations.\n- Track book loans and manage book inventories.\n\n## Features\n- **Author Management**: Add, update, view, and delete authors.\n- **Book Management**: Add, update, view, and delete books. Filter books by genre.\n- **Member Management**: Add, update, view, and delete library members.\n- **Loan Management**: Add, update, view, and delete loan records.\n\n## Technologies Used\n- **Backend**: Spring Boot\n- **Database**: H2 Database (In-memory)\n- **Dependency Management**: Maven\n- **Build Tool**: Spring Boot Maven Plugin\n\n## Project Structure\n- **Controller Layer**: Manages HTTP requests and interacts with services.\n- **Service Layer**: Contains business logic and interacts with DAO.\n- **DAO Layer**: Data access objects for handling database operations.\n- **DTO Layer**: Response structure for consistent API responses.\n\n## Setup Instructions\n\n### 1. Clone the repository\n```bash\ngit clone https://github.com/your-username/library-management-system.git\n```\n\n### 2. Setup and Installation\n- Make sure you have **Java 8 or later** installed.\n- Install **Maven** if not already installed.\n\n### 3. Build and Run the Application\n- Navigate to the project directory.\n- Run the application with Maven:\n```bash\nmvn spring-boot:run\n```\n\n### 4. API Endpoints\n\n#### Author Endpoints\n- **POST** `/author`: Create a new author.\n- **GET** `/author`: Get all authors.\n- **GET** `/author/{id}`: Get an author by ID.\n- **PUT** `/author`: Update an existing author.\n- **DELETE** `/author/{id}`: Delete an author by ID.\n\n#### Book Endpoints\n- **POST** `/book`: Create a new book.\n- **GET** `/book`: Get all books.\n- **GET** `/book/{id}`: Get a book by ID.\n- **GET** `/book/genre/{genre}`: Get books by genre.\n- **PUT** `/book`: Update an existing book.\n- **DELETE** `/book/{id}`: Delete a book by ID.\n\n#### Member Endpoints\n- **POST** `/member`: Create a new member.\n- **GET** `/member`: Get all members.\n- **GET** `/member/{id}`: Get a member by ID.\n- **PUT** `/member`: Update an existing member.\n- **DELETE** `/member/{id}`: Delete a member by ID.\n\n#### Loan Endpoints\n- **POST** `/loan`: Create a new loan.\n- **GET** `/loan`: Get all loans.\n- **GET** `/loan/{id}`: Get a loan by ID.\n- **PUT** `/loan`: Update an existing loan.\n- **DELETE** `/loan/{id}`: Delete a loan by ID.\n\n## Database Configuration\n- The project uses an **in-memory H2 database** by default.\n- No additional configuration is required, but you can switch to a persistent database by modifying `application.properties`.\n\n## Future Improvements\n- **Authentication**: Implement user authentication and authorization.\n- **Persistent Database**: Integrate a persistent relational database like MySQL.\n- **Front-End**: Develop a user-friendly front-end using ReactJS or Angular.\n\n## License\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechycode-01%2Flibrary_management_system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechycode-01%2Flibrary_management_system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechycode-01%2Flibrary_management_system/lists"}