{"id":15137784,"url":"https://github.com/micaellobo/e-commerce-store","last_synced_at":"2025-10-04T11:19:00.521Z","repository":{"id":189991138,"uuid":"669334993","full_name":"micaellobo/e-commerce-store","owner":"micaellobo","description":"Spring Boot microservices application for an E-commerce platform.","archived":false,"fork":false,"pushed_at":"2024-04-29T14:58:15.000Z","size":412,"stargazers_count":23,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T17:22:46.491Z","etag":null,"topics":["api-gateway","docker","eureka-discovery-service","grafana","grafana-loki","grafana-tempo","integration-testing","kafka","microservices","microservices-architecture","open-telemetry","prometheus","spring-boot","testcontainers","unit-testing","zipkin"],"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/micaellobo.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":"2023-07-22T00:49:54.000Z","updated_at":"2025-03-17T03:09:18.000Z","dependencies_parsed_at":"2024-02-28T03:29:32.525Z","dependency_job_id":"561dfdf1-2570-4896-8d19-fd0790437c94","html_url":"https://github.com/micaellobo/e-commerce-store","commit_stats":null,"previous_names":["micaellobo/e-commerce-store"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/micaellobo/e-commerce-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micaellobo%2Fe-commerce-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micaellobo%2Fe-commerce-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micaellobo%2Fe-commerce-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micaellobo%2Fe-commerce-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micaellobo","download_url":"https://codeload.github.com/micaellobo/e-commerce-store/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micaellobo%2Fe-commerce-store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278302959,"owners_count":25964614,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["api-gateway","docker","eureka-discovery-service","grafana","grafana-loki","grafana-tempo","integration-testing","kafka","microservices","microservices-architecture","open-telemetry","prometheus","spring-boot","testcontainers","unit-testing","zipkin"],"created_at":"2024-09-26T07:01:58.934Z","updated_at":"2025-10-04T11:19:00.488Z","avatar_url":"https://github.com/micaellobo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# e-commerce-store\n\nSpring Boot microservice-based application to manage orders, products, inventory and product reviews.\n\n# Microservices Overview\n\n- **API Gateway:** Routes requests to appropriate microservices.\n- **Eureka Service:** Service discovery and registration.\n- **User Service:** Handles user management.\n- **Auth Service:** Provides authentication.\n- **Inventory Service:** Manages product inventory and availability.\n- **Order Service:** Manage and process customer orders.\n- **Reviews Service:** Gather and display product reviews and ratings from users.\n- **Notification Service:** Sends notifications to users.\n\n# Technologies and Concepts Used\n\n- Java 17\n- Spring Boot\n- Maven \n- PostgreSQL\n\n### Architecture\n- Microservices\n- API Gateway Pattern: An `API Gateway` on the edge of the microservices.\n- Service Registration and Discovery: using `Netflix Eureka` for service registration and discovery.\n\n### Security\n- JWT Tokens: Used for authentication and authorization.\n\n### QA/Testing\n- JUnit\n- Mockito\n- Unit Testing\n- Integration Testing\n- TestContainers\n\n### CI/CD\n- Maven\n- Docker\n- GitHub Actions: Automatically builds, tests and publishes Docker images to Docker Hub.\n\n### Event-Driven Messaging\n- Kafka\n\n### Observability\n- Grafana: Data visualization.\n- OpenTelemetry: Collect metrics, traces, and logs.\n- Grafana Loki: `Logging`.\n- Grafana Tempo and Zipkin: `Distributed Tracing`.\n- Prometheus: `Metrics`.\n\n# How to run\n\n### Docker Compose\n\nUse pre-built Docker images for a fast and straightforward way to run the application:\n\n1. Clone the repository or download the\n   [docker-compose.yaml](https://github.com/micaellobo/e-commerce-store/raw/master/deployment/docker-compose.yaml)\n2. Run the following command:\n\n        cd deployment \u0026\u0026 docker-compose up -d\n\n### Local Development with Docker\n\nBuild new Docker images and package the application into a JAR file from your local codebase, although it may be a bit\nslower do the fact that it's building the images from scratch:\n\n1. Clone the repository.\n2. Run the following command:\n\n       docker-compose -f docker-compose-dev.yaml up -d --build\n\nFor smoother local development, it's recommended to have `Java 17` or higher and `Maven` installed. You can also\nconfigure the essential infrastructure\nusing [docker-compose-infra.yaml](https://github.com/micaellobo/e-commerce-store/raw/master/deployment/docker-compose-infra.yaml). \\\nRun each service individually with `mvn spring-boot:run`.\n\n### Exploring and Interacting with API\n\n- **Swagger:** http://localhost:8080/swagger\n- **Postman Collection:** [postman.json](https://github.com/micaellobo/e-commerce-store/raw/master/documentation/postman.json)\n\n# Next Steps and Improvements\n\nAs the project is actively being developed, there are several possibilities for future enhancements and progress. Here\nare a few ideas:\n\n- [ ] **Security:** Transitioning from `JWT` to `OAuth` 2.0 with `Keycloak` for more robust authentication and authorization\n  mechanisms.\n- [ ] **CI/CD:** Set up pipelines to automate testing and deployment processes with `Jenkins`. Currently\n  using `GitHub Actions` to build and push microservices Docker images to `Docker Hub`.\n- [ ] **Container Orchestration:** Explore container orchestration platforms like `Kubernetes`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicaellobo%2Fe-commerce-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicaellobo%2Fe-commerce-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicaellobo%2Fe-commerce-store/lists"}