{"id":18463095,"url":"https://github.com/balliasghar/grpc-typescript-example","last_synced_at":"2026-05-06T00:38:20.468Z","repository":{"id":188604669,"uuid":"678656835","full_name":"BalliAsghar/grpc-typescript-example","owner":"BalliAsghar","description":"gRPC/Typescript example with Redis","archived":false,"fork":false,"pushed_at":"2023-08-16T18:20:45.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-28T14:15:53.603Z","etag":null,"topics":["grpc","grpc-javascript","grpc-node","grpc-typescript","protoc","protocol","redis","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/BalliAsghar.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}},"created_at":"2023-08-15T03:54:53.000Z","updated_at":"2023-08-16T18:11:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d66c342-2d68-4159-a5da-7559e82a5b45","html_url":"https://github.com/BalliAsghar/grpc-typescript-example","commit_stats":null,"previous_names":["balliasghar/grpc-typescript-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BalliAsghar/grpc-typescript-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalliAsghar%2Fgrpc-typescript-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalliAsghar%2Fgrpc-typescript-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalliAsghar%2Fgrpc-typescript-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalliAsghar%2Fgrpc-typescript-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BalliAsghar","download_url":"https://codeload.github.com/BalliAsghar/grpc-typescript-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalliAsghar%2Fgrpc-typescript-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270962391,"owners_count":24675965,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-javascript","grpc-node","grpc-typescript","protoc","protocol","redis","typescript"],"created_at":"2024-11-06T09:05:52.779Z","updated_at":"2025-10-12T16:56:28.463Z","avatar_url":"https://github.com/BalliAsghar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC/Typescript example\n\nThis is a simple example of a gRPC server, written in Typescript, using:\n\n- [grpc-tools](https://www.npmjs.com/package/grpc-tools) to generate the server and client code from the proto file\n- [@grpc/grpc-js](https://www.npmjs.com/package/@grpc/grpc-js) to create the server and client\n- [grpc_tools_node_protoc_ts](https://www.npmjs.com/package/grpc_tools_node_protoc_ts) to generate the typescript types from the proto file\n- [ioredis](https://www.npmjs.com/package/ioredis) to connect to Redis and store the data\n\n## How to run\n\n### Server\n\n```bash\ngit clone https://github.com/BalliAsghar/grpc-typescript-example\ncd grpc-typescript-example\n```\n\n### Install dependencies\n\n```bash\nnpm install\n```\n\n### Compile the proto file\n\n```bash\nnpm run build:proto\n```\n\n\u003e Make sure you have the [protoc](https://grpc.io/docs/protoc-installation/) installed on your machine.\n\n### Run the server\n\n```bash\nnpm run dev\n```\n\n\u003e Make sure you have the [Redis](https://redis.io/topics/quickstart) installed on your machine.\n\n### Test the server\n\nUse [Postman](https://www.postman.com/) or any other tool to test the server.\n\n### Available RPCs\n\n- `CreateProduct` - Creates a new product\n- `GetProduct` - Gets a product by id\n- `GetProducts` - Gets all products\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fballiasghar%2Fgrpc-typescript-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fballiasghar%2Fgrpc-typescript-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fballiasghar%2Fgrpc-typescript-example/lists"}