{"id":19486517,"url":"https://github.com/phxql/spring-boot-grpc-showcase","last_synced_at":"2026-07-22T20:30:17.259Z","repository":{"id":146609033,"uuid":"275814547","full_name":"phxql/spring-boot-grpc-showcase","owner":"phxql","description":"This small project showcases Spring together with gRPC","archived":false,"fork":false,"pushed_at":"2020-06-29T12:55:15.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T08:14:26.501Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phxql.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-06-29T12:53:21.000Z","updated_at":"2020-06-29T12:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"74f953cb-299c-4a6d-9994-d7e32b45c8a7","html_url":"https://github.com/phxql/spring-boot-grpc-showcase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phxql%2Fspring-boot-grpc-showcase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phxql%2Fspring-boot-grpc-showcase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phxql%2Fspring-boot-grpc-showcase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phxql%2Fspring-boot-grpc-showcase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phxql","download_url":"https://codeload.github.com/phxql/spring-boot-grpc-showcase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240727801,"owners_count":19848053,"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":[],"created_at":"2024-11-10T20:38:07.749Z","updated_at":"2026-07-22T20:30:17.033Z","avatar_url":"https://github.com/phxql.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot with gRPC\n\nThis small project showcases Spring together with gRPC. It consists of 3 modules:\n\n* `protocol`: contains the proto file and the rpc definition. Will generate java classes when compiled.\n* `server`: uses protocol module, implemements the rpc stub in Spring Boot\n* `client`: uses protocol module, implements a client in plain java (no Spring)\n\nThe project uses [grpc-spring-boot-starter](https://github.com/LogNet/grpc-spring-boot-starter) for the heavy \nlifting.\n\nThe main work on that was to get the Gradle build files right.\n\n## Build it\n\n`./gradlew clean build`\n\n## Run it via gradle\n\n1. `./gradlew :server:bootRun`\n1. `./gradlew :client:run` in another terminal\n\n## Invoke the service via grpc-cli\n\nThe server has gRPC reflection support enabled (see [application.yaml](server/src/main/resources/application.yaml)),\nso you can invoke the service via the grpc-cli. First start the server, then interact with it via the CLI:\n\n```\n# Start server\n./gradlew :server:bootRun\n\n# List all services\ngrpc_cli ls localhost:6565\n\n# Get HelloWorldService definition\ngrpc_cli ls localhost:6565 -l grpcchat.HelloWorld\n\n# Get request proto definition\ngrpc_cli type localhost:6565 grpcchat.HelloWorldRequest\n\n# Get response proto definition\ngrpc_cli type localhost:6565 grpcchat.HelloWorldResponse\n\n# Call the service\ngrpc_cli call localhost:6565 grpcchat.HelloWorld.Hello \"name: 'Moritz'\"\n```\n\n# License\n\nLicensed under [Unlicense](https://unlicense.org/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphxql%2Fspring-boot-grpc-showcase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphxql%2Fspring-boot-grpc-showcase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphxql%2Fspring-boot-grpc-showcase/lists"}