{"id":29973684,"url":"https://github.com/smsrz/microservice-ecommerce","last_synced_at":"2026-04-14T19:31:24.921Z","repository":{"id":305168319,"uuid":"1022131589","full_name":"SMSRZ/Microservice-Ecommerce","owner":"SMSRZ","description":"This is a Microservice Architecture based Ecommerce application ","archived":false,"fork":false,"pushed_at":"2025-07-30T07:38:08.000Z","size":322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-30T09:31:23.184Z","etag":null,"topics":["alpinejs","docker-compose","grafana","java","keycloak","lok","maven","microservices","oauth","postgresql","prometheus","rabbitmq","spring-boot","spring-cloud-gateway","thymeleaf"],"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/SMSRZ.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,"zenodo":null}},"created_at":"2025-07-18T14:02:34.000Z","updated_at":"2025-07-30T07:26:45.000Z","dependencies_parsed_at":"2025-07-18T19:04:37.852Z","dependency_job_id":null,"html_url":"https://github.com/SMSRZ/Microservice-Ecommerce","commit_stats":null,"previous_names":["smsrz/microservice-ecommerce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SMSRZ/Microservice-Ecommerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMSRZ%2FMicroservice-Ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMSRZ%2FMicroservice-Ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMSRZ%2FMicroservice-Ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMSRZ%2FMicroservice-Ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SMSRZ","download_url":"https://codeload.github.com/SMSRZ/Microservice-Ecommerce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMSRZ%2FMicroservice-Ecommerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274088625,"owners_count":25220260,"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-09-07T02:00:09.463Z","response_time":67,"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":["alpinejs","docker-compose","grafana","java","keycloak","lok","maven","microservices","oauth","postgresql","prometheus","rabbitmq","spring-boot","spring-cloud-gateway","thymeleaf"],"created_at":"2025-08-04T07:01:11.303Z","updated_at":"2026-04-14T19:31:24.886Z","avatar_url":"https://github.com/SMSRZ.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# 📚 Bookstore Microservices Application\n\nThis project is a microservices-based **bookstore application**, designed as a learning project inspired by the [Microservices Project Series on YouTube](https://www.youtube.com/playlist?list=PLuNxlOYbv61g_ytin-wgkecfWDKVCEDmB).\n\n\n\n![alt text](bookstore-spring-microservices.png)\n\n---\n\n## 🧩 Modules Overview\n\n### 1. 📦 catalog-service\n\u003e Provides REST APIs for managing the product catalog (books).\n\n- **Tech Stack**:  \n  `Spring Boot`, `Spring Data JPA`, `PostgreSQL`\n\n---\n\n### 2. 🛒 order-service\n\u003e Manages orders and publishes order-related events to the message broker.\n\n- **Tech Stack**:  \n  `Spring Boot`, `Spring Security OAuth2`, `Keycloak`,  \n  `Spring Data JPA`, `PostgreSQL`, `RabbitMQ`\n\n---\n\n### 3. 📧 notification-service\n\u003e Listens to order events and sends user notifications.\n\n- **Tech Stack**:  \n  `Spring Boot`, `RabbitMQ`\n\n---\n\n### 4. 🚪 api-gateway\n\u003e Serves as an API Gateway to internal backend services (`catalog-service`, `order-service`).\n\n- **Tech Stack**:  \n  `Spring Boot`, `Spring Cloud Gateway`\n\n---\n\n### 5. 🌐 bookstore-webapp\n\u003e Customer-facing web application where users can browse books, place orders, and view order history.\n\n- **Tech Stack**:  \n  `Spring Boot`, `Spring Security OAuth2`, `Keycloak`,  \n  `Thymeleaf`, `Alpine.js`, `Bootstrap`\n\n---\n\n## 🎯 Learning Objectives\n\n- ✅ Build REST APIs with **Spring Boot**\n- ✅ Persist data using **Spring Data JPA**, **PostgreSQL**, and **Flyway**\n- ✅ Implement **asynchronous communication** using **RabbitMQ**\n- ✅ Secure applications using **OAuth2** with **Spring Security** and **Keycloak**\n- ✅ Setup **API Gateway** with **Spring Cloud Gateway**\n- ✅ Implement **resiliency** using **Resilience4j**\n- ✅ Handle **distributed scheduling** using **ShedLock**\n- ✅ Use **RestClient** \u0026 **Declarative HTTP Clients** for inter-service communication\n- ✅ Create **aggregated Swagger documentation** at API Gateway\n- ✅ Setup **local development environment** using **Docker**, **Docker Compose**, and **Testcontainers**\n- ✅ Test services using **JUnit 5**, **RestAssured**, **Testcontainers**, **Awaitility**, and **WireMock**\n- ✅ Build responsive web UI using **Thymeleaf**, **Alpine.js**, and **Bootstrap**\n- ✅ Monitor services using **Grafana**, **Prometheus**, **Loki**, and **Tempo**\n\n---\n\n## 🧰 Local Development Setup\n\n### 📦 Prerequisites\n\n- ✅ Java 21  \n  _Recommended: use [SDKMAN](https://sdkman.io/) to manage Java versions_\n- ✅ [Docker Desktop](https://www.docker.com/products/docker-desktop/)\n- ✅ [IntelliJ IDEA](https://www.jetbrains.com/idea/) or your favorite IDE\n- ✅ [Postman](https://www.postman.com/) or any REST client\n\n---\n\n\u003e 💡 **Note**: This is a learning project. For the full tutorial series, visit the [YouTube Playlist](https://www.youtube.com/playlist?list=PLuNxlOYbv61g_ytin-wgkecfWDK_)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmsrz%2Fmicroservice-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmsrz%2Fmicroservice-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmsrz%2Fmicroservice-ecommerce/lists"}