{"id":27614185,"url":"https://github.com/gtiwari333/spring-cloud-microservice-example-java","last_synced_at":"2025-04-23T02:52:15.991Z","repository":{"id":92255090,"uuid":"169039477","full_name":"gtiwari333/spring-cloud-microservice-example-java","owner":"gtiwari333","description":"Spring Cloud Microservices Example ","archived":false,"fork":false,"pushed_at":"2023-05-28T22:05:19.000Z","size":108,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T21:22:30.212Z","etag":null,"topics":["eureka","gateway","java","microservices","microservices-architecture","service-discovery","spring","spring-boot","spring-cloud","spring-framework"],"latest_commit_sha":null,"homepage":"http://ganeshtiwaridotcomdotnp.blogspot.com/","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/gtiwari333.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":"2019-02-04T07:01:17.000Z","updated_at":"2025-01-13T17:13:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"c159d4ef-0e32-44d6-917d-ace8303c3756","html_url":"https://github.com/gtiwari333/spring-cloud-microservice-example-java","commit_stats":null,"previous_names":["gtiwari333/spring-cloud-microservice-example-java","gtiwari333/spring-boot-microservice-example-java"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtiwari333%2Fspring-cloud-microservice-example-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtiwari333%2Fspring-cloud-microservice-example-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtiwari333%2Fspring-cloud-microservice-example-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtiwari333%2Fspring-cloud-microservice-example-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gtiwari333","download_url":"https://codeload.github.com/gtiwari333/spring-cloud-microservice-example-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250360249,"owners_count":21417718,"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":["eureka","gateway","java","microservices","microservices-architecture","service-discovery","spring","spring-boot","spring-cloud","spring-framework"],"created_at":"2025-04-23T02:52:15.553Z","updated_at":"2025-04-23T02:52:15.978Z","avatar_url":"https://github.com/gtiwari333.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Microservice Example using Spring Boot and Spring Cloud.\n\n## Variations\n\nMaster Branch: - Latest Spring Boot(3), Keycloak, Zipkin, Admin Server, etc\n\n\n#### Withtout security:\n- Spring Boot 2.3 https://github.com/gtiwari333/spring-boot-microservice-example-java/tree/SpringBoot-2.3\n- Spring Boot 2.7 https://github.com/gtiwari333/spring-boot-microservice-example-java/tree/SpringBoot-2.7\n\n#### With keycloak auth\n- Spring Boot 2.3 and Keycloak https://github.com/gtiwari333/spring-boot-microservice-example-java/tree/SpringBoot-2.3-Keycloak\n- Spring Boot 2.7 and Keycloak https://github.com/gtiwari333/spring-boot-microservice-example-java/tree/Spring2.7-Keycloak-Auth\n- Spring Boot 3 and Keycloak https://github.com/gtiwari333/spring-boot-microservice-example-java/tree/SpringBoot3-KeyCloakAuth\n\n### It contains the following applications:\n\n- Spring Cloud Registration Service Discovery with Netflix Eureka (module: registration-discovery)\n- Spring Cloud Config server (module: config-server)\n- Admin Dashboard (module: admin-server-dashboard)\n- Two Microservices:\n    - Greeting Service (module: greeting-service)\n    - Time Service (module: time-service)\n- Gateway Application (module: gateway-app)\n- Supports distributed Tracing with Zipkin (need to run the zipkin server app )\n- Config for local development are stored on configs/local/**\n\n## How to Run\n\nStep 0) Change config URL (IF NECESSARY)\n\nStep 1) Start Keycloak and Zipkin using docker-compose. Navigate to /config and run `docker-compose up`\n\nStep 2) Import the project into your IDE as maven project. Each of the following are Spring Boot Applications. Run the main classes from each module in following order:\n- config-server\n- registration-discovery\n- greeting-service,   time-service  \u003e\u003e Any number of these services can be started. They will run on random port\n- gateway-app\n- admin-server-dashboard\n\nStep 3) Open `http://localhost:8080/`  in your browser. \n\nMonitor the deployed service instances using Spring Eureka Web UI: `http://localhost:8761/`\n\nView distributed tracing using zipkin: `http://localhost:9411`\n\nFor Admin Dashboard Open `http://localhost:8788' ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtiwari333%2Fspring-cloud-microservice-example-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgtiwari333%2Fspring-cloud-microservice-example-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtiwari333%2Fspring-cloud-microservice-example-java/lists"}