{"id":16813776,"url":"https://github.com/albertoimpl/grpc-samples","last_synced_at":"2025-08-18T11:48:28.396Z","repository":{"id":86216887,"uuid":"415907136","full_name":"Albertoimpl/grpc-samples","owner":"Albertoimpl","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-22T10:00:17.000Z","size":258,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T11:50:53.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Albertoimpl.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":"2021-10-11T12:00:37.000Z","updated_at":"2021-10-22T10:00:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"205cee79-9deb-4688-82d8-218234b1cf03","html_url":"https://github.com/Albertoimpl/grpc-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Albertoimpl/grpc-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fgrpc-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fgrpc-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fgrpc-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fgrpc-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Albertoimpl","download_url":"https://codeload.github.com/Albertoimpl/grpc-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fgrpc-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270988294,"owners_count":24680671,"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-08-18T02:00:08.743Z","response_time":89,"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":[],"created_at":"2024-10-13T10:27:48.393Z","updated_at":"2025-08-18T11:48:28.350Z","avatar_url":"https://github.com/Albertoimpl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grpc-samples\n\nAn end to end example with a `grpc-server` that produces a message, a `grpc-client` that consumes it and a `grpc-gateway` that routes the requests.\n\nFirst we need to start the server that is going to be listing to requests:\n\n```shell\n ./gradlew :grpc-server:bootRun\n```\nThen, we start the gateway that is going to re-route the gRPC requests:\n```shell\n./gradlew :grpc-gateway:bootRun\n```\n\nFinally, we can use the client that points to the gateway application:\n```shell\n./gradlew :grpc-client:bootRun\n```\n\nThe gateway routes and filters can be modified in `grpc-gateway/src/main/resources/application.yaml`\n\nAt the moment there is just one route that will forward everything to the `grpc-server`:\n```yaml\n      routes:\n        - id: grpc\n          uri: https://localhost:6565\n          predicates:\n            - Path=/**\n          filters:\n            - AddResponseHeader=X-Request-red, blue\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fgrpc-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertoimpl%2Fgrpc-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fgrpc-samples/lists"}