{"id":26282956,"url":"https://github.com/henriiqueaze/library-api","last_synced_at":"2026-04-12T16:02:57.496Z","repository":{"id":279207471,"uuid":"937862239","full_name":"henriiqueaze/Library-API","owner":"henriiqueaze","description":"This project is an API (Application Programming Interface) that allows the management and organization of book data, providing basic CRUD.","archived":false,"fork":false,"pushed_at":"2025-03-12T00:36:03.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T01:27:35.051Z","etag":null,"topics":["java","springboot","sql"],"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/henriiqueaze.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-02-24T03:01:19.000Z","updated_at":"2025-03-12T00:36:06.000Z","dependencies_parsed_at":"2025-02-24T11:39:41.445Z","dependency_job_id":"186ca4a7-0a77-4ebe-8508-f04ccd66be1d","html_url":"https://github.com/henriiqueaze/Library-API","commit_stats":null,"previous_names":["henriiqueaze/library-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henriiqueaze%2FLibrary-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henriiqueaze%2FLibrary-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henriiqueaze%2FLibrary-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henriiqueaze%2FLibrary-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henriiqueaze","download_url":"https://codeload.github.com/henriiqueaze/Library-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243615631,"owners_count":20319733,"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","springboot","sql"],"created_at":"2025-03-14T17:16:08.081Z","updated_at":"2025-10-16T02:14:22.266Z","avatar_url":"https://github.com/henriiqueaze.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003e 📚 Library API\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/images/Logo%20-%20Library-API.png\" alt=\"StudentProgress Logo\"\u003e\n\u003c/p\u003e\n\n## 📖 Description\nAPI to manage and organize book data, including adding, updating, retrieving, and deleting books.\n\n## ⚙️ How to use\n1. **Clone this repository and access the folder:**\n    ```bash\n    git clone git@github.com:henriiqueaze/Library-API.git \n    cd Library-API\n    ```\n\n2. **Set up environment variables:**\n   Create a `.env` file and define your database credentials:\n    ```bash\n    DB_USERNAME=root\n    DB_PASSWORD=yourpassword\n    ```\n\n3. **Build the project:**\n    ```bash\n    mvn clean install\n    ```\n\n4. **Run the project:**\n    ```bash\n    mvn spring-boot:run\n    ```\n\n5. **Access the project:**\n   The project will be available at:\n    ```bash\n    http://localhost:8080/book\n    ```\n\n6. **Swagger Documentation:**\n   The API documentation is available via Swagger at:\n    ```bash\n    http://localhost:8080/swagger-ui.html\n    ```\n\n## 📌 Endpoints\n- **GET /book/{id}** - Retrieve a book by ID.\n- **GET /book** - List all books.\n- **POST /book** - Add a new book.\n- **PUT /book** - Update a book by ID.\n- **DELETE /book/{id}** - Delete a book by ID.\n\n## 🛠 Stack\n- Java\n- Spring Boot\n- Hibernate\n- Flyway\n- MySQL\n- HATEOAS\n- Swagger (for API documentation)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenriiqueaze%2Flibrary-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenriiqueaze%2Flibrary-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenriiqueaze%2Flibrary-api/lists"}