{"id":27645066,"url":"https://github.com/justkode/spring-boot-grpc","last_synced_at":"2025-07-17T20:43:08.228Z","repository":{"id":112830978,"uuid":"492975188","full_name":"JustKode/Spring-Boot-gRPC","owner":"JustKode","description":"Spring Boot gRPC Example Repository for 2022-1 FSSN Lecture","archived":false,"fork":false,"pushed_at":"2022-06-06T18:35:37.000Z","size":143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T08:47:42.796Z","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/JustKode.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":"2022-05-16T19:37:34.000Z","updated_at":"2022-05-25T13:10:57.000Z","dependencies_parsed_at":"2023-09-16T20:38:06.759Z","dependency_job_id":null,"html_url":"https://github.com/JustKode/Spring-Boot-gRPC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JustKode/Spring-Boot-gRPC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustKode%2FSpring-Boot-gRPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustKode%2FSpring-Boot-gRPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustKode%2FSpring-Boot-gRPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustKode%2FSpring-Boot-gRPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JustKode","download_url":"https://codeload.github.com/JustKode/Spring-Boot-gRPC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustKode%2FSpring-Boot-gRPC/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265660643,"owners_count":23807191,"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":"2025-04-24T00:59:46.114Z","updated_at":"2025-07-17T20:43:08.163Z","avatar_url":"https://github.com/JustKode.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Spring Boot gRPC\nSpring Boot gRPC Example Repository for 2022-1 FSSN Lecture\n\n### How to Use\n각 client 혹은 server 별로 build 하는 방법은 다음과 같습니다. 원하는 서비스가 있는 폴더에서 다음 명령어를 실행해 주면 됩니다.\n\n```\n$ cd grpc-bidirectional-streaming-client\n$ ./gradlew build -x test\n```\n\n그러면 `해당폴더/build/libs` 위치에 `jar` 파일이 생성 됩니다.\n\n```\n$ cd build/libs\n$ ls\n```\n\n```\nbidirectional_streaming_client-0.0.1-SNAPSHOT-plain.jar bidirectional_streaming_client-0.0.1-SNAPSHOT.jar\n```\n\n해당 폴더 위에서 다음 명령어를 실행 해 주세요. \n\n```\njava -jar [해당 서비스 파일명].jar\n```\n\n함께 실행 되어야 하는 서비스는 다음과 같습니다.\n- Bidirectional streaming\n  - grpc-bidirectional-streaming-client\n  - grpc-bidirectional-streaming-server\n- Client streaming\n  - grpc-clientstreaming-client\n  - grpc-clientstreaming-server\n- Server streaming\n  - grpc-serverstreaming-client\n  - grpc-serverstreaming-server\n- Unary gRPC\n  - grpc-unary-client\n  - grpc-unary-server\n\n#### 실제 API 호출 예시\n- Bidirectional streaming\n\n```\ncurl localhost:8080/bidirectional\n[\"message #1\",\"message #2\",\"message #3\",\"message #4\",\"message #5\"]\n```\n\n- Client streaming\n\n```\ncurl localhost:8080/client_stream\n5\n```\n\n- Server streaming\n\n```\ncurl localhost:8080/server_stream\n[\"message #1\",\"message #2\",\"message #3\",\"message #4\",\"message #5\"]\n```\n- Unary gRPC\n\n```\ncurl localhost:8080/unary\n16\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustkode%2Fspring-boot-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustkode%2Fspring-boot-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustkode%2Fspring-boot-grpc/lists"}