{"id":19495507,"url":"https://github.com/alexandredresch/spring-boot-book-api","last_synced_at":"2026-05-16T15:04:49.107Z","repository":{"id":188615408,"uuid":"679068408","full_name":"AlexandreDresch/spring-boot-book-api","owner":"AlexandreDresch","description":"This is a sample Spring Boot application that provides a RESTful API for managing book records.","archived":false,"fork":false,"pushed_at":"2023-08-16T03:18:46.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T09:26:16.238Z","etag":null,"topics":["java","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/AlexandreDresch.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}},"created_at":"2023-08-16T03:12:23.000Z","updated_at":"2023-09-12T13:38:58.000Z","dependencies_parsed_at":"2023-08-16T05:29:43.186Z","dependency_job_id":"85e69f01-46a3-44c1-9166-677a4dd017a0","html_url":"https://github.com/AlexandreDresch/spring-boot-book-api","commit_stats":null,"previous_names":["alexandredresch/spring-book-book-api","alexandredresch/spring-boot-book-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2Fspring-boot-book-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2Fspring-boot-book-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2Fspring-boot-book-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2Fspring-boot-book-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexandreDresch","download_url":"https://codeload.github.com/AlexandreDresch/spring-boot-book-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240741392,"owners_count":19850144,"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":["java","spring-boot"],"created_at":"2024-11-10T21:37:58.453Z","updated_at":"2026-05-16T15:04:44.070Z","avatar_url":"https://github.com/AlexandreDresch.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Book Management API\n\nThis is a sample Spring Boot application that provides a RESTful API for managing book records.\n\n## Getting Started\n\n### Prerequisites\n\n- Java 17 or higher\n- Maven\n- Your favorite IDE (IntelliJ IDEA, Eclipse, etc.)\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/AlexandreDresch/spring-book-book-api.git\n   cd spring-boot-book-api\n   ```\n2. Build the project:\n    ```bash\n   mvn clean install\n    ```\n\n3. Run the application:\n    ```bash\n   mvn spring-boot:run\n    ```\n\n### Usage\n\n#### Endpoints\nThe API provides the following endpoints:\n\n- POST /books: Create a new book record.\n- GET /books: Get a list of all books.\n- GET /books/{id}: Get details about a specific book.\n- PUT /books/{id}: Update details of a specific book.\n- DELETE /books/{id}: Delete a specific book.\n\n##### Example Requests\n\n- Create a new book:\n```http\nPOST /books\nContent-Type: application/json\n\n{\n    \"name\": \"Clean Code: A Handbook of Agile Software Craftsmanshipe\",\n    \"pages\": 431\n}\n```\n\n- Get all books:\n```http\nGET /books\n```\n\n- Get details about a specific book:\n```http\nGET /books/{id}\n```\n\n- Update details of a specific book:\n```http\nPUT /books/{id}\nContent-Type: application/json\n\n{\n    \"name\": \"Clean Code: A Handbook of Agile Software Craftsmanshipe\",\n    \"pages\": 431\n}\n```\n\n- Delete a specific book:\n```http\nDELETE /books/{id}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandredresch%2Fspring-boot-book-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandredresch%2Fspring-boot-book-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandredresch%2Fspring-boot-book-api/lists"}