{"id":24701991,"url":"https://github.com/dejanfajfar/grpcintro","last_synced_at":"2026-05-02T23:32:51.916Z","repository":{"id":51408595,"uuid":"192667389","full_name":"dejanfajfar/grpcintro","owner":"dejanfajfar","description":"A small introduction into the world of grpc","archived":false,"fork":false,"pushed_at":"2022-02-11T02:34:31.000Z","size":58,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T16:16:27.256Z","etag":null,"topics":["grpc","samples","showcase"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dejanfajfar.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}},"created_at":"2019-06-19T05:53:55.000Z","updated_at":"2019-06-28T13:17:00.000Z","dependencies_parsed_at":"2022-09-11T17:02:13.398Z","dependency_job_id":null,"html_url":"https://github.com/dejanfajfar/grpcintro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dejanfajfar/grpcintro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejanfajfar%2Fgrpcintro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejanfajfar%2Fgrpcintro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejanfajfar%2Fgrpcintro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejanfajfar%2Fgrpcintro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dejanfajfar","download_url":"https://codeload.github.com/dejanfajfar/grpcintro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dejanfajfar%2Fgrpcintro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048663,"owners_count":23868743,"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":["grpc","samples","showcase"],"created_at":"2025-01-27T05:30:42.506Z","updated_at":"2025-10-23T19:07:10.837Z","avatar_url":"https://github.com/dejanfajfar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grpc simple sample\n\nThe purpose of this application is to show the basic features and implementation details for a simple *gRPC* client and server. \n\n## Structure\n\nTo keep things simple, you know the KISS principle, we have stuffed all the code into one git repository that now contains multiple projects. The projects are:\n\n### Server\n\nThe sample gRPC server implementation\n\n### jsClient\n\nA collection of simple nodejs applications to show various gRPC scenarios\n\n## Showcases\n\n* A simple chat\n* A stream of generated numbers\n* A simple echo service\n\n### Simple echo service\n\nFirst we have to start the server locally.\n\n```bash\nnode server/index.js\n```\n\nIn another shell start the client:\n\n```bash\nnode jsClient/hello.js\n```\n\n### Stream of generated numbers\n\nFirst we have to start the server locally.\n\n```bash\nnode server/index.js\n```\n\nIn another shell start the client:\n\n```bash\nnode jsClient/cointoss.js\n```\n\n## gRPC concerns\n\n|Concern|Software|\n|---|---|\n|Server side load balancing|Lyn Envoy, NGinx|\n|Client side load balancing|With central registry|\n|Service registry|Consul, Zookeper, Eureka, gRPC LB|\n|Health Checking|gRPC health check protocol, custom endpoints|\n|Security|TLS, token headers|\n|Authorization|token headers|\n|Distributed tracing|Zipkin, Brave|\n|Monitoring|Prometheus|\n|Transcoding (gRPC \u003c-\u003e REST)|gRPC Gateway|\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdejanfajfar%2Fgrpcintro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdejanfajfar%2Fgrpcintro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdejanfajfar%2Fgrpcintro/lists"}