{"id":25149223,"url":"https://github.com/samuelmsilva2v/apieventos","last_synced_at":"2026-05-04T01:34:38.719Z","repository":{"id":273787525,"uuid":"920762957","full_name":"samuelmsilva2v/apiEventos","owner":"samuelmsilva2v","description":"API RESTful para agendamento de eventos e gerenciamento de participantes.","archived":false,"fork":false,"pushed_at":"2025-01-28T16:36:38.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T16:31:19.396Z","etag":null,"topics":["docker","jpa","postgresql","rabbitmq","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/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":"2025-01-22T18:21:14.000Z","updated_at":"2025-03-17T02:36:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"223f39dd-238c-4ae1-a6a4-e7722d311493","html_url":"https://github.com/samuelmsilva2v/apiEventos","commit_stats":null,"previous_names":["samuelmsilva2v/apieventos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samuelmsilva2v/apiEventos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FapiEventos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FapiEventos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FapiEventos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FapiEventos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelmsilva2v","download_url":"https://codeload.github.com/samuelmsilva2v/apiEventos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelmsilva2v%2FapiEventos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32591601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"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":["docker","jpa","postgresql","rabbitmq","spring-boot"],"created_at":"2025-02-08T21:19:49.240Z","updated_at":"2026-05-04T01:34:38.715Z","avatar_url":"https://github.com/samuelmsilva2v.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Eventos\n**API RESTful para agendamento de eventos e gerenciamento de participantes.**\n\nEssa API consiste em um sistema de agendamento de eventos projetado para ser gerenciar e controlar os participantes. O sistema permite que os usuários realizem as seguintes ações:\n- Criação, exclusão, edição e consulta de eventos.\n- Filtros de consulta para os eventos.\n- Registro de participantes nos eventos.\n- Exclusão, edição e consulta de participantes.\n- Filtros de consulta para participantes.\n\n## Tecnologias utilizadas:\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- **RabbitMQ**\n\n## Endpoints\n#### Participante\n| Método | Endpoint                                               | Descrição                                      |\n|--------|--------------------------------------------------------|------------------------------------------------|\n| POST   | `/api/partipantes`                                     | Registra um novo participante                  |\n| GET    | `/api/partipantes`                                     | Consulta todas os participantes                |\n| GET    | `/api/partipantes/{id}`                                | Consulta um participante através do ID         |\n| PUT    | `/api/partipantes/{id}`                                | Edita um participante                          |\n| GET    | `/api/partipantes/evento/{eventoId}`                   | Consulta os participantes de um evento         |\n| GET    | `/api/partipantes/evento/{eventoId}/count`             | Contabiliza todos os participantes registrados |\n| DELETE | `/api/partipantes/evento/{eventoId}/participante/{id}` | Exclui um partipante de um determinado evento  |\n\n#### Eventos\n| Método | Endpoint                                    | Descrição                                           |\n|--------|---------------------------------------------|-----------------------------------------------------|\n| POST   | `/api/eventos`                              | Registra um novo evento                             |\n| GET    | `/api/eventos`                              | Consulta todas os eventos                           |\n| GET    | `/api/eventos/{id}`                         | Consulta um evento através do ID                    |\n| PUT    | `/api/eventos/{id}`                         | Atualiza um evento                                  |\n| DELETE | `/api/eventos/{id}`                         | Exclui um evento                                    |\n| GET    | `/api/eventos/status`                       | Filtra e consulta os eventos por status             |\n| GET    | `/api/eventos/period/{startDate}/{endDate}` | Filtra e consulta os eventos em um período de tempo |\n| GET    | `/api/evento/count`                         | Contabiliza todos os eventos registrados            |\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\n```bash\ndocker build -t apieventos .\n```\n##### Executando o container\n```bash\ndocker-compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmsilva2v%2Fapieventos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmsilva2v%2Fapieventos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmsilva2v%2Fapieventos/lists"}