{"id":25053620,"url":"https://github.com/dills122/grpc-playground","last_synced_at":"2026-04-27T22:33:02.525Z","repository":{"id":98391776,"uuid":"233972093","full_name":"dills122/grpc-playground","owner":"dills122","description":"An example grpc app I'm building to learn the framework","archived":false,"fork":false,"pushed_at":"2020-04-15T02:46:15.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T07:11:44.404Z","etag":null,"topics":["grpc","grpc-tooling","proto"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dills122.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-01-15T01:34:24.000Z","updated_at":"2021-03-16T16:15:19.000Z","dependencies_parsed_at":"2023-04-13T06:01:09.745Z","dependency_job_id":null,"html_url":"https://github.com/dills122/grpc-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dills122/grpc-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dills122%2Fgrpc-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dills122%2Fgrpc-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dills122%2Fgrpc-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dills122%2Fgrpc-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dills122","download_url":"https://codeload.github.com/dills122/grpc-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dills122%2Fgrpc-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32358509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"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-tooling","proto"],"created_at":"2025-02-06T11:40:05.964Z","updated_at":"2026-04-27T22:33:02.504Z","avatar_url":"https://github.com/dills122.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC Tooling \u0026 Utils\n\n[![CodeFactor](https://www.codefactor.io/repository/github/dills122/grpc-playground/badge)](https://www.codefactor.io/repository/github/dills122/grpc-playground)\n\ngRPC tooling to help simplify some of the tasks required by the framework.\n\nCurrent Features:\n\n- `ClientFactory` - Builds a client for a given service and proto\n- `SeverFactory` - Builds a server for all the needed services and protos\n\nThis allows for some cleaner and more organized code since all of your service definitions are within a config.\n\n## Example Service config\n\n```json\n{\n    \"protoDefinitionPath\": \"protos\",\n    \"Services\": {\n        \"FirstService\": {\n            \"protoPath\": \"/path/to/proto.proto\",\n            \"namespace\": \"namespace\",\n            \"serviceName\": \"ServiceName\"\n        }\n    }\n}\n```\n\n## Using Server Factory\n\n```javascript\nconst { createServer } = require(\"grpc-tooling\");\nconst config = require(\"path/to/service/config\");\n\ncreateServer\n  .serverFactory(config)\n  .then(() =\u003e {\n    //Run any tasks needed once the server is started\n  })\n  .catch((err) =\u003e {\n    //Handle server error\n  });\n```\n\n## Using Client Factory\n\n```javascript\nconst { clientFactory } = require(\"grpc-tooling\");\nconst config = require(\"path/to/service/config\");\n\nconst { ClientService } = config.Services;\nclientFactory(\n  ClientService.protoPath,\n  ClientService.serviceName,\n  ClientService.namespace\n)\n  .then((client) =\u003e {})\n  .catch((err) =\u003e {\n    console.log(err);\n    process.exit(1);\n  });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdills122%2Fgrpc-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdills122%2Fgrpc-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdills122%2Fgrpc-playground/lists"}