{"id":24003487,"url":"https://github.com/johnenderson/customerconnect","last_synced_at":"2026-05-12T12:03:06.790Z","repository":{"id":263828342,"uuid":"890070293","full_name":"johnenderson/customerConnect","owner":"johnenderson","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-28T17:55:00.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T10:51:34.298Z","etag":null,"topics":["mysql","spring-boot-3","spring-boot-docker-compose","spring-data-jpa"],"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/johnenderson.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-11-17T23:25:36.000Z","updated_at":"2024-12-28T17:55:04.000Z","dependencies_parsed_at":"2025-02-25T10:54:25.331Z","dependency_job_id":null,"html_url":"https://github.com/johnenderson/customerConnect","commit_stats":null,"previous_names":["johnenderson/customerconnect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johnenderson/customerConnect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnenderson%2FcustomerConnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnenderson%2FcustomerConnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnenderson%2FcustomerConnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnenderson%2FcustomerConnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnenderson","download_url":"https://codeload.github.com/johnenderson/customerConnect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnenderson%2FcustomerConnect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32938003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["mysql","spring-boot-3","spring-boot-docker-compose","spring-data-jpa"],"created_at":"2025-01-08T01:38:53.903Z","updated_at":"2026-05-12T12:03:06.756Z","avatar_url":"https://github.com/johnenderson.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CustomerConnect\n\nBem-vindo ao **CustomerConnect**, um projeto envolvente e prático projetado para ajudá-lo a dominar os fundamentos do Spring Boot e do Spring Data JPA. Neste projeto, você criará um robusto Sistema de Gerenciamento de Clientes que executa operações CRUD em uma entidade Cliente.\n\n## Regras de Negócio\n\n### Dados Cadastrais\nPrecisamos das seguintes informações principais de nossos clientes:\n- **Nome Completo**\n- **CPF**\n- **Email**\n- **Telefone Celular**\n- **Data de registro e atualização** do cliente no sistema para fins de auditoria.\n\n### Cadastro Único\n- Garantir que não existam clientes com ID, CPF ou email repetidos.\n\n### Busca Flexível e Personalizada\n- Permitir **paginação** e **ordenação** de resultados.\n- Permitir **busca por CPF** e/ou **email**.\n\n## Endpoints REST\n\n### `POST /customers`\nEndpoint para o cadastro de clientes.\n\n#### Parâmetros Requeridos\n- `fullName` (string): Nome completo do cliente.\n- `cpf` (string): CPF do cliente.\n- `email` (string): Email do cliente.\n- `phoneNumber` (string): Telefone celular.\n\n#### Retorno\n- `customerId` (string): Identificador único do cliente no sistema.\n\n---\n\n### `GET /customers`\nEndpoint para consulta de clientes cadastrados.\n\n#### Parâmetros de Consulta\n- `page` (integer): Número da página.\n- `pageSize` (integer): Quantidade de itens retornados por página.\n- `orderBy` (string): Ordenação dos clientes pela data de criação.\n- `email` (string): Busca cliente pelo email.\n- `cpf` (string): Busca cliente pelo CPF.\n\n#### Retorno\n- Dados dos clientes e informações de paginação.\n\n---\n\n### `PUT /customers/{customerId}`\nEndpoint para atualizar as informações de um cliente.\n\n#### Parâmetros Requeridos\n- `fullName` (string): Nome completo do cliente.\n- `email` (string): Email do cliente.\n- `phoneNumber` (string): Telefone celular.\n\n---\n\n### `DELETE /customers/{customerId}`\nEndpoint para excluir um cliente do cadastro.\n\n---\n\n## Tecnologias Utilizadas\n- **Spring Boot**\n- **Spring Data JPA**\n- **H2 Database** (para testes e desenvolvimento)\n- **Maven** (gerenciador de dependências)\n\n---\n\n## Como Executar o Projeto\n1. Clone este repositório:\n```bash\ngit clone git@github.com:johnenderson/customerConnect.git\ncd customerconnect\n```\n2. Execute o projeto:\n```bash\nmvn spring-boot:run\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnenderson%2Fcustomerconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnenderson%2Fcustomerconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnenderson%2Fcustomerconnect/lists"}