{"id":20895364,"url":"https://github.com/gopikrsmscs/spring-grpc","last_synced_at":"2026-04-07T20:31:06.339Z","repository":{"id":231156616,"uuid":"781079694","full_name":"gopikrsmscs/spring-grpc","owner":"gopikrsmscs","description":"A Simple Spring boot GRPC Server, Protobuf Interface and test Implementation","archived":false,"fork":false,"pushed_at":"2024-04-02T18:09:52.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T09:35:16.023Z","etag":null,"topics":["grpc","grpc-client","grpc-java","grpc-server","java","junit","maven","protobuf","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gopikrsmscs.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":"2024-04-02T17:55:48.000Z","updated_at":"2024-04-02T18:07:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"018a786d-940e-4492-99ef-3488c494f96a","html_url":"https://github.com/gopikrsmscs/spring-grpc","commit_stats":null,"previous_names":["gopikrsmscs/spring-grpc","pavulurig/spring-grpc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gopikrsmscs/spring-grpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fspring-grpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fspring-grpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fspring-grpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fspring-grpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gopikrsmscs","download_url":"https://codeload.github.com/gopikrsmscs/spring-grpc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopikrsmscs%2Fspring-grpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["grpc","grpc-client","grpc-java","grpc-server","java","junit","maven","protobuf","spring-boot"],"created_at":"2024-11-18T10:28:31.919Z","updated_at":"2026-04-07T20:31:06.321Z","avatar_url":"https://github.com/gopikrsmscs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-grpc\n\nThis project is a demonstration of using gRPC (Google Remote Procedure Call) with Spring Boot, facilitating communication between a client and server using protocol buffers.\n\n## Contents:\n\n1. **`GrpcServerService.java`**:\n    - This file defines the server-side implementation of the gRPC service. It contains a method `sayHello` which responds with a greeting message based on the received request.\n\n2. **`hello.proto`**:\n    - This file specifies the protocol buffer messages and service definitions used for communication between the client and server. It defines two messages, `HelloRequest` and `HelloResponse`, along with the `GreetService` service containing the `sayHello` RPC method.\n\n3. **`GrpcServerServiceTest.java`**:\n    - This file contains JUnit tests for verifying the functionality of the gRPC server. It includes a test case for the `sayHello` method, ensuring that it returns the expected response.\n\n4. **`SpringGrpcApplication.java`**:\n    - This is the main entry point of the Spring Boot application. It bootstraps the Spring context and starts the gRPC server.\n\n## Running the Project:\n\nTo run the project, follow these steps:\n\n1. Ensure you have Java and Maven installed on your system.\n2. Clone this repository to your local machine.\n3. Navigate to the project directory.\n4. Run the following command to build the project:\n     `mvn clean install`\n5. Once the build is successful, you can start the server by running:`mvn spring-boot:run`\n6. To run the tests, execute: `mvn test`\n\n\n## Notes:\n\n- The server listens on port `9090` by default. You can modify this configuration in `application.properties` if needed.\n- The client-side implementation for invoking the gRPC service is not included in this project. You can implement it using the generated stubs from the protocol buffer definitions.\n`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopikrsmscs%2Fspring-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgopikrsmscs%2Fspring-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopikrsmscs%2Fspring-grpc/lists"}