{"id":19439169,"url":"https://github.com/santosjennifer/microservices-ecommerce","last_synced_at":"2026-04-25T22:34:27.083Z","repository":{"id":238161731,"uuid":"796004253","full_name":"santosjennifer/microservices-ecommerce","owner":"santosjennifer","description":"Serviços naming-server, gateway-server, ms-authentication, ms-order, ms-product, ms-customer e ms-mail","archived":false,"fork":false,"pushed_at":"2024-07-16T23:46:31.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T04:43:39.295Z","etag":null,"topics":["java","jwt-authentication","kafka","spring-boot","spring-cloud","spring-mail","spring-security"],"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/santosjennifer.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-05-04T16:40:45.000Z","updated_at":"2024-07-16T23:46:34.000Z","dependencies_parsed_at":"2024-05-19T19:28:06.297Z","dependency_job_id":"6a46e157-f3d7-4527-9e7a-1916c09b9891","html_url":"https://github.com/santosjennifer/microservices-ecommerce","commit_stats":null,"previous_names":["santosjennifer/microservices-e-commerce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santosjennifer/microservices-ecommerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2Fmicroservices-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2Fmicroservices-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2Fmicroservices-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2Fmicroservices-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santosjennifer","download_url":"https://codeload.github.com/santosjennifer/microservices-ecommerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2Fmicroservices-ecommerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32279658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"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":["java","jwt-authentication","kafka","spring-boot","spring-cloud","spring-mail","spring-security"],"created_at":"2024-11-10T15:21:41.006Z","updated_at":"2026-04-25T22:34:27.056Z","avatar_url":"https://github.com/santosjennifer.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Last Commit](https://img.shields.io/github/last-commit/santosjennifer/microservices-ecommerce)\n[![Continuous Integration with Github](https://github.com/santosjennifer/microservices-ecommerce/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/santosjennifer/microservices-ecommerce/actions/workflows/docker-publish.yml)\n\n## E-commerce\nResponsável por cadastrar produtos, categorias e clientes. Gerando pedidos e enviando e-mail de notificação para os clientes, simulando um e-commerce.\n\n### Serviços naming-server, gateway-server, ms-authentication, ms-order, ms-product, ms-customer e ms-mail:\n\n- **naming-server:** responsável por registrar e gerenciar a comunicação dos demais microserviços utilizando o spring eureka.\n- **gateway-server:** responsável gerenciar as rotas do API Gateway, utilizando o spring security para autenticação JWT nessas rotas.\n- **ms-authentication:** responsável por cadastrar os usuários e autenticar utilizando autenticação JWT.\n- **ms-order:** responsável criar os pedidos, integrando com os ms de customer e product. Publica eventos em um tópico Kafka solicitando o envio de e-mails com os dados do pedido.\n- **ms-customer:** responsável cadastrar e retornar os clientes e endereços.\n- **ms-product:** responsável por cadastrar e retornar os produtos e categorias.\n- **ms-mail:** responsável consumir os eventos no tópico do Kafka e enviar os e-mails para os clientes com os dados do pedido.\n\n### Tecnologia\n\n- Java 21\n- Maven\n- Spring Boot 3.2.5\n- Spring Security\n- Apache Kafka\n- PostgreSQL\n\n### Como executar o projeto:\n\n1 - Clone o repositório:\n```\ngit clone git@github.com:santosjennifer/microservices-ecommerce.git\n```\n2 - Na raiz do projeto, execute o comando:\n```\ndocker-compose up\n```\n### Links Úteis\n\n- Eureka Server:\n```\nhttp://localhost:8761\n```\n![image](https://github.com/santosjennifer/microservices-ecommerce/assets/90192611/3c9a0d05-2b9b-42f7-a9ee-8d6bf8799d53)\n\n- Swagger Authentication API:\n```\nhttp://localhost:8004/swagger-ui/index.html#/\n```\n![image](https://github.com/santosjennifer/microservices-ecommerce/assets/90192611/ca86ee65-33d6-4652-92fd-449cce97941c)\n\n-  Swagger Order API:\n```\nhttp://localhost:8003/swagger-ui/index.html#/\n```\n![image](https://github.com/santosjennifer/microservices-ecommerce/assets/90192611/5b411679-861d-4059-9a64-83915c4754cc)\n\n- Swagger Customer API:\n```\nhttp://localhost:8002/swagger-ui/index.html#/\n```\n![image](https://github.com/santosjennifer/microservices-ecommerce/assets/90192611/c0ff180b-803a-4b34-b6f6-dbd114aab2dc)\n\n- Swagger Product and Category API:\n```\nhttp://localhost:8001/swagger-ui/index.html#/\n```\n![image](https://github.com/santosjennifer/microservices-ecommerce/assets/90192611/4f0648bd-ab8a-4eb5-bbfd-2e40b90e5140)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosjennifer%2Fmicroservices-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantosjennifer%2Fmicroservices-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosjennifer%2Fmicroservices-ecommerce/lists"}