{"id":21630564,"url":"https://github.com/catsmiaow/node-grpc-typescript","last_synced_at":"2025-04-05T13:05:21.655Z","repository":{"id":38214446,"uuid":"161622104","full_name":"CatsMiaow/node-grpc-typescript","owner":"CatsMiaow","description":"Node.js gRPC Structure for TypeScript example","archived":false,"fork":false,"pushed_at":"2024-11-22T03:40:31.000Z","size":1197,"stargazers_count":124,"open_issues_count":0,"forks_count":32,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T12:04:26.942Z","etag":null,"topics":["google-protobuf","grpc","grpc-js","node","node-grpc","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/CatsMiaow.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":"2018-12-13T10:23:19.000Z","updated_at":"2025-03-16T02:19:45.000Z","dependencies_parsed_at":"2025-01-06T01:06:17.831Z","dependency_job_id":"c84beca5-9226-49a5-af10-965026b85327","html_url":"https://github.com/CatsMiaow/node-grpc-typescript","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/CatsMiaow%2Fnode-grpc-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatsMiaow%2Fnode-grpc-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatsMiaow%2Fnode-grpc-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatsMiaow%2Fnode-grpc-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CatsMiaow","download_url":"https://codeload.github.com/CatsMiaow/node-grpc-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339155,"owners_count":20923014,"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":["google-protobuf","grpc","grpc-js","node","node-grpc","nodejs","typescript"],"created_at":"2024-11-25T02:11:26.883Z","updated_at":"2025-04-05T13:05:21.621Z","avatar_url":"https://github.com/CatsMiaow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-grpc-typescript\n\nNode.js gRPC structure with [google.protobuf](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf) for TypeScript example\n\n- This example uses [ts-proto](https://github.com/stephenh/ts-proto) as the TypeScript plugin.\n- For an example using the [grpc_tools_node_protoc_ts](https://github.com/agreatfool/grpc_tools_node_protoc_ts) plugin, see the following [branch](https://github.com/CatsMiaow/node-grpc-typescript/tree/grpc_tools_node_protoc_ts) source.\n\n## Installation\n\n```sh\nnpm ci\n```\n\n## Build\n\n```sh\n# exports to *.proto to *.ts\nnpm run build\nnpm run lint\n```\n\n## Server Start\n\n```sh\nnpm start #= node dist/server\n```\n\n## Client Test\n\nStart the server before testing client commands.\n\n```sh\n# 1. Request\nnpm run client #= node dist/client\n# 2. with Parameter\nnpm run client blahblahblah\n# 3. Error\nnpm run client error\n# 4. Stream\nnpm run client stream\n# 5. Health Check\nnpm run health\n```\n\n### Documentation\n\n- [Node.js gRPC Documentation](https://grpc.io/grpc/node/grpc.html)\n- [Protocol Buffers](https://developers.google.com/protocol-buffers/docs/proto3)\n- [gRPC for Node.js](https://github.com/grpc/grpc-node)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatsmiaow%2Fnode-grpc-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatsmiaow%2Fnode-grpc-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatsmiaow%2Fnode-grpc-typescript/lists"}