{"id":28954293,"url":"https://github.com/marinspira/microservices-java","last_synced_at":"2026-04-29T21:07:20.010Z","repository":{"id":296634485,"uuid":"992948506","full_name":"marinspira/microservices-java","owner":"marinspira","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-01T03:01:04.000Z","size":17424,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-01T11:51:19.575Z","etag":null,"topics":["azure","docker-compose","java","microservices-architecture","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/marinspira.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-05-30T00:59:34.000Z","updated_at":"2025-06-01T03:28:16.000Z","dependencies_parsed_at":"2025-06-01T12:05:39.922Z","dependency_job_id":null,"html_url":"https://github.com/marinspira/microservices-java","commit_stats":null,"previous_names":["marinspira/microservices-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marinspira/microservices-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinspira%2Fmicroservices-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinspira%2Fmicroservices-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinspira%2Fmicroservices-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinspira%2Fmicroservices-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marinspira","download_url":"https://codeload.github.com/marinspira/microservices-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinspira%2Fmicroservices-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261539316,"owners_count":23174136,"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","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":["azure","docker-compose","java","microservices-architecture","spring-boot"],"created_at":"2025-06-23T19:08:20.128Z","updated_at":"2026-04-29T21:07:20.005Z","avatar_url":"https://github.com/marinspira.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧩 Microservices – Java + Spring Boot + Docker + Azure Container Apps\n\nThis project demonstrates a basic microservices architecture using Java 21, Spring Boot, and Maven. The services are containerized with Docker and automatically deployed to Azure Container Apps using GitHub Actions.\n\n## 🛠️ Microservices\n\n- **user-service** – Manages user data\n- **product-service** – Manages product catalog\n\n---\n\n## 🖼️ Azure Container Apps Dashboard\n\n\u003e Screenshot of both services running on Azure Container Apps.\n\n![Azure Container Apps Screenshot](./screenshots/azure-container-apps-dashboard.jpeg)\n\n**Run logs:**\n`az containerapp logs show --n user-service -g microservices-rg --follow`\n\n---\n\n## 🌐 Public Endpoints (For Testing)\n\n### 🔐 `user-service`\n\n| Endpoint                  | Method | Description                  |\n|---------------------------|--------|------------------------------|\n| `/auth/register`          | POST   | Register a new user          |\n| `/auth/login`             | POST   | Login user                   |\n| `/swagger-ui/index.html`  | GET    | Swagger UI for user-service  |\n\n➡️ **Try Swagger**:  \n`https://user-service.jollybush-8dd5bb72.eastus.azurecontainerapps.io/swagger-ui/index.html`\n\n---\n\n### 📦 `product-service`\n\n| Endpoint                  | Method | Description                    |\n|---------------------------|--------|--------------------------------|\n| `/products`               | GET    | Get all products               |\n| `/products/{id}`          | GET    | Get product by ID              |\n| `/swagger-ui/index.html`  | GET    | Swagger UI for product-service |\n\n➡️ **Try Swagger**:  \n`https://product-service.jollybush-8dd5bb72.eastus.azurecontainerapps.io/swagger-ui/index.html`\n\n---\n\n## 🚀 Running Locally\n\n### 🔧 Requirements\n\n- Java 21\n- Maven (`mvn -v`)\n- Docker and Docker Compose\n\n---\n\n### ▶️ Run with Maven\n\nOpen two terminals, run each service:\n\n```bash\ncd user-service\nmvn clean install\nmvn spring-boot:run \n```\n```bash\ncd product-service\nmvn clean install\nmvn spring-boot:run \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarinspira%2Fmicroservices-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarinspira%2Fmicroservices-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarinspira%2Fmicroservices-java/lists"}