{"id":23122303,"url":"https://github.com/samuelmsilva2v/booksapi","last_synced_at":"2026-04-16T05:34:05.608Z","repository":{"id":268428163,"uuid":"904326524","full_name":"samuelmsilva2v/booksApi","owner":"samuelmsilva2v","description":"RESTful API for book management","archived":false,"fork":false,"pushed_at":"2025-01-29T14:31:36.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T04:14:56.528Z","etag":null,"topics":["docker","jpa","postgresql","spring-boot","tdd"],"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/samuelmsilva2v.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-12-16T17:11:09.000Z","updated_at":"2025-03-17T02:36:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"03fff5ad-28d7-4ac6-ab09-2435f2199632","html_url":"https://github.com/samuelmsilva2v/booksApi","commit_stats":null,"previous_names":["samuelmsilva2v/booksapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samuelmsilva2v/booksApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FbooksApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FbooksApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FbooksApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FbooksApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelmsilva2v","download_url":"https://codeload.github.com/samuelmsilva2v/booksApi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FbooksApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31872655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["docker","jpa","postgresql","spring-boot","tdd"],"created_at":"2024-12-17T07:18:40.911Z","updated_at":"2026-04-16T05:34:05.589Z","avatar_url":"https://github.com/samuelmsilva2v.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Books API\n\n[🇧🇷 Leia em Português](#api-books)\n\nAPI RESTful developed in Spring Boot that provides a CRUD for book management.\n\nTechnologies:\n- **Java 21**\n- **Spring Boot**\n- **Spring Data JPA**\n- **Hibernate**\n- **PostgreSQL**\n- **Swagger**\n- **Lombok**\n- **Model Mapper**\n- **Bean Validation (javax.validation)**\n- **Docker**\n\n| Método | Endpoint          | Descrição              |\n|--------|-------------------|------------------------|\n| POST   | `/api/books`      | Registers a new book   |\n| GET    | `/api/books`      | Retrieves all books    |\n| GET    | `/api/books/{id}` | Retrieves a book by ID |\n| PUT    | `/api/books/{id}` | Updates a book         |\n| DELETE | `/api/books/{id}` | Deletes a book         |\n\n## Installation:\n\n##### Building the Docker image:\n#### 1. Open the terminal and navigate to the project folder.\n#### 2. Run the following command to create the Docker image:\n```bash\ndocker build -t booksapi .\n```\n##### Running the container\n```bash\ndocker-compose up -d\n```\n\n#### 3. Access the Swagger documentation: http://localhost:8080/swagger-ui/index.html#\n\n[Frontend repository](https://github.com/samuelmsilva2v/webBooks)\n\n---\n\n# API Books\n\n[🇺🇸 Read in English](#books-api)\n\nAPI RESTful desenvolvida em Spring Boot que oferece um CRUD para o gerenciamento de livros.\n\n## Tecnologias: \n- **Java 21**\n- **Spring Boot**\n- **Spring Data JPA**\n- **Hibernate**\n- **PostgreSQL**\n- **Swagger**\n- **Lombok**\n- **Model Mapper**\n- **Bean Validation (javax.validation)**\n- **Docker**\n\n## Endpoints\n\n| Método | Endpoint          | Descrição                    |\n|--------|-------------------|------------------------------|\n| POST   | `/api/books`      | Registra uma nova categoria  |\n| GET    | `/api/books`      | Consulta todas as categorias |\n| GET    | `/api/books/{id}` | Detalha uma categoria por ID |\n| PUT    | `/api/books/{id}` | Atualiza uma categoria       |\n| DELETE | `/api/books/{id}` | Remove uma categoria         |\n\n## Instalação:\n\n##### Construindo a imagem no Docker:\n#### 1. No terminal, navegue até a pasta do projeto.\n#### 2. Execute o comando abaixo para criar a imagem Docker:\n```bash\ndocker build -t booksapi .\n```\n##### Executando o container\n```bash\ndocker-compose up -d\n```\n\n#### 3. Acesse a documentação no Swagger: http://localhost:8080/swagger-ui/index.html#\n\n[Repositório do front-end](https://github.com/samuelmsilva2v/webBooks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmsilva2v%2Fbooksapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmsilva2v%2Fbooksapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmsilva2v%2Fbooksapi/lists"}