{"id":21478102,"url":"https://github.com/ichtrojan/node-rpc-client","last_synced_at":"2025-07-15T10:33:51.637Z","repository":{"id":51407183,"uuid":"261500132","full_name":"ichtrojan/node-rpc-client","owner":"ichtrojan","description":"A RPC client demo built in NodeJS","archived":false,"fork":false,"pushed_at":"2021-05-12T01:04:47.000Z","size":29,"stargazers_count":9,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-02-28T13:23:02.483Z","etag":null,"topics":["grpc","javascript","node","nodejs","rpc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ichtrojan.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}},"created_at":"2020-05-05T14:49:03.000Z","updated_at":"2021-04-14T06:42:18.000Z","dependencies_parsed_at":"2022-09-11T17:13:12.519Z","dependency_job_id":null,"html_url":"https://github.com/ichtrojan/node-rpc-client","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichtrojan%2Fnode-rpc-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichtrojan%2Fnode-rpc-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichtrojan%2Fnode-rpc-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichtrojan%2Fnode-rpc-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ichtrojan","download_url":"https://codeload.github.com/ichtrojan/node-rpc-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033199,"owners_count":17563126,"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","javascript","node","nodejs","rpc"],"created_at":"2024-11-23T11:16:33.756Z","updated_at":"2024-11-23T11:16:36.261Z","avatar_url":"https://github.com/ichtrojan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RPC Client in NodeJS\n\n![hero](https://res.cloudinary.com/ichtrojan/image/upload/v1588771860/Screenshot_2020-05-06_at_14.29.28_bub5m3.png)\n\n## Introduction\n\nThis codebase was built as a demo to practice RPC with [Go](https://golang.org) and [Javascript (node)](http://nodejs.org).\nThe RPC server was built in Go, you can find the codebase [here](https://github.com/ichtrojan/grpc-server).\n\n## Prerequisites\n* Protobuf installed on you machine\n* NodeJS installed on your Machine\n* Basic understanding of the basics of RPC\n* Fundamental knowledge of NodeJS\n* Fundamental knowledge of Go (to set up the RPC server)\n\n## Installation\n\n* clone this repo by running:\n\n```bash\ngit clone https://github.com/ichtrojan/node-rpc-client.git\n```\n\n* change directory into the repo:\n\n```bash\ncd node-rpc-client\n```\n\n* Install dependencies:\n\n```bash\nnpm install\n```\n\n* Create `.env` frile from sample:\n\n```bash\ncp .env.example .env\n```\n\n* Run the client\n\n```bash\nnode client.js\n```\n\nBy default, the client will listen on `localhost` via port `9000`. which is what was duplicated from the `.env.example` file and also what is defined in the RPC server config assuming all configuration are left as default.\n\n## Conclusion\n\nI would normally explain what every line does. But, I do not have the mental bandwidth to do so at the moment.\nYou can take a look at the hero image at the top, my IDE did its best to explain what each parameter does.\n\nRegards \u003cbr/\u003e\nMichael Trojan Okoh \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fichtrojan%2Fnode-rpc-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fichtrojan%2Fnode-rpc-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fichtrojan%2Fnode-rpc-client/lists"}