{"id":51098314,"url":"https://github.com/dassudip2001/micro-services","last_synced_at":"2026-06-24T08:32:27.303Z","repository":{"id":355545090,"uuid":"919290327","full_name":"dassudip2001/micro-services","owner":"dassudip2001","description":"Spring Cloud Microservices Demo","archived":false,"fork":false,"pushed_at":"2026-05-04T05:15:10.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-04T07:20:03.467Z","etag":null,"topics":["angular","java","microservice","springboot"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/dassudip2001.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-20T05:52:23.000Z","updated_at":"2026-05-04T05:15:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dassudip2001/micro-services","commit_stats":null,"previous_names":["dassudip2001/micro-services"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dassudip2001/micro-services","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dassudip2001%2Fmicro-services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dassudip2001%2Fmicro-services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dassudip2001%2Fmicro-services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dassudip2001%2Fmicro-services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dassudip2001","download_url":"https://codeload.github.com/dassudip2001/micro-services/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dassudip2001%2Fmicro-services/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34724735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"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":["angular","java","microservice","springboot"],"created_at":"2026-06-24T08:32:25.047Z","updated_at":"2026-06-24T08:32:27.291Z","avatar_url":"https://github.com/dassudip2001.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Cloud Microservices Demo\n\nThis repository contains a small Spring Boot microservices sample with:\n\n- `api-eureka` — Eureka service registry\n- `api-application` — REST API service registered as `user-service`\n- `api-gateway` — Spring Cloud Gateway routing requests to `user-service`\n\n## Architecture\n\n1. `api-eureka` runs on port `8761` and provides service discovery.\n2. `api-application` registers with Eureka and exposes user endpoints on port `8081`.\n3. `api-gateway` runs on port `8080` and forwards `/users/**` traffic to `user-service`.\n\n## Prerequisites\n\n- Java 17\n- Maven (the project includes Maven wrappers)\n- Internet access to download Spring Boot and Spring Cloud dependencies\n\n## Run the services\n\nStart the services in this order:\n\n1. Start Eureka:\n\n   cd api-eureka\n   ./mvnw spring-boot:run\n\n2. Start the API application:\n\n   cd ../api-application\n   ./mvnw spring-boot:run\n\n3. Start the gateway:\n\n   cd ../api-gateway\n   ./mvnw spring-boot:run\n\n\u003e On Windows, use `mvnw.cmd` instead of `./mvnw`.\n\n## Accessing the services\n\n- Eureka dashboard: `http://localhost:8761`\n- Gateway endpoint: `http://localhost:8080/users`\n- Application endpoint: `http://localhost:8081`\n\n## Build\n\nFrom the repo root, you can build each module separately:\n\n```bash\ncd api-eureka \u0026\u0026 ./mvnw clean package\ncd ../api-application \u0026\u0026 ./mvnw clean package\ncd ../api-gateway \u0026\u0026 ./mvnw clean package\n```\n\nOr build a single module from its folder.\n\n## Tests\n\nRun unit tests per module:\n\n```bash\ncd api-eureka \u0026\u0026 ./mvnw test\ncd ../api-application \u0026\u0026 ./mvnw test\ncd ../api-gateway \u0026\u0026 ./mvnw test\n```\n\n## Notes\n\n- `api-gateway` uses Spring Cloud Gateway with a route to `lb://USER-SERVICE`.\n- `api-application` registers as `user-service`, matching the gateway route.\n- `api-eureka` is configured as a standalone Eureka server and does not register itself.\n\n## Repository layout\n\n- `api-eureka/` — Eureka registry service\n- `api-gateway/` — gateway service\n- `api-application/` — backend user service\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdassudip2001%2Fmicro-services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdassudip2001%2Fmicro-services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdassudip2001%2Fmicro-services/lists"}