{"id":26301995,"url":"https://github.com/youssefgamalmohamed/library-management-system-spring-boot","last_synced_at":"2026-05-11T02:50:25.107Z","repository":{"id":235780367,"uuid":"787079489","full_name":"youssefGamalMohamed/library-management-system-spring-boot","owner":"youssefGamalMohamed","description":"This project aims to develop a robust Library Management System API using Spring Boot. The system facilitates librarians in efficiently managing books, patrons, and borrowing records.","archived":false,"fork":false,"pushed_at":"2025-03-03T01:57:41.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T13:49:36.273Z","etag":null,"topics":["integration-testing","java","log4j2","logbook","mysql","open-api-documentation","spring-boot","spring-data-jpa","spring-validation","unit-testing"],"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/youssefGamalMohamed.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":"2024-04-15T21:12:46.000Z","updated_at":"2025-03-03T01:57:44.000Z","dependencies_parsed_at":"2025-04-05T13:49:37.485Z","dependency_job_id":"ee12d13d-69b1-488f-b3d8-6a1ff90d96a4","html_url":"https://github.com/youssefGamalMohamed/library-management-system-spring-boot","commit_stats":null,"previous_names":["youssefgamalmohamed/library-management-system-spring-boot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/youssefGamalMohamed/library-management-system-spring-boot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssefGamalMohamed%2Flibrary-management-system-spring-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssefGamalMohamed%2Flibrary-management-system-spring-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssefGamalMohamed%2Flibrary-management-system-spring-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssefGamalMohamed%2Flibrary-management-system-spring-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youssefGamalMohamed","download_url":"https://codeload.github.com/youssefGamalMohamed/library-management-system-spring-boot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssefGamalMohamed%2Flibrary-management-system-spring-boot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32879551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["integration-testing","java","log4j2","logbook","mysql","open-api-documentation","spring-boot","spring-data-jpa","spring-validation","unit-testing"],"created_at":"2025-03-15T07:17:50.445Z","updated_at":"2026-05-11T02:50:25.083Z","avatar_url":"https://github.com/youssefGamalMohamed.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Library Management System API\n\nThis project aims to develop a robust Library Management System API using Spring Boot. The system facilitates librarians in efficiently managing books, patrons, and borrowing records.\n\n## Features\n\n- Manage books, patrons, and borrowing records\n- RESTful API endpoints\n- CRUD operations\n- Validation and error handling\n- Unit and integration tests\n- Caching with Spring Boot (type: simple)\n\n## Technologies Used\n\n- Java\n- Spring Boot\n- Spring Data JPA\n- MySQL\n- Log4j2\n- Logbook for Http Request \u0026 Response Logging\n- Spring Validation\n- OpenAPI Documentation\n\n## Getting Started\n\n### Prerequisites\n\n- Java 21\n- MySQL\n- Gradle\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/youssefGamalMohamed/library-management-system-spring-boot.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd library-management-system-spring-boot\n   ```\n3. Configure the database connection and other settings in `src/main/resources/application.yml`:\n   ```yaml\n   server:\n     port: 8081\n     servlet:\n       context-path: /api\n\n   spring:\n     application:\n       name: library-management-system-spring-boot\n     datasource:\n       driver-class-name: com.mysql.cj.jdbc.Driver\n       url: jdbc:mysql://localhost:3306/library_management_system_db\n       username: root\n       password: 1234\n     jpa:\n       hibernate:\n         ddl-auto: update\n       show-sql: true\n     cache:\n       type: simple\n\n   logging:\n     level:\n       org:\n         springframework:\n           cache: trace\n         zalando:\n           logbook: trace\n\n   springdoc:\n     swagger-ui:\n       path: /swagger-ui.html\n   ```\n\n### Running the Application\n\n1. Build the project:\n   ```bash\n   ./gradlew build\n   ```\n2. Run the application:\n   ```bash\n   ./gradlew bootRun\n   ```\n\n### Testing\n\nRun the tests using:\n```bash\n./gradlew test\n```\n\n## API Documentation\n\nAPI endpoints and documentation can be accessed at:\n```\nhttp://localhost:8081/api/swagger-ui.html\n```\n\n## Contributing\n\nContributions are welcome! Please submit a pull request or open an issue for any changes or suggestions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoussefgamalmohamed%2Flibrary-management-system-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoussefgamalmohamed%2Flibrary-management-system-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoussefgamalmohamed%2Flibrary-management-system-spring-boot/lists"}