https://github.com/satwikkansal/node_grpc_demo
A very minimal implementation of grpc client and service in node.js
https://github.com/satwikkansal/node_grpc_demo
grpc grpc-client grpc-server js nodejs
Last synced: 3 months ago
JSON representation
A very minimal implementation of grpc client and service in node.js
- Host: GitHub
- URL: https://github.com/satwikkansal/node_grpc_demo
- Owner: satwikkansal
- Created: 2020-01-10T17:36:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-11T07:40:50.000Z (over 6 years ago)
- Last Synced: 2025-03-15T06:16:32.819Z (over 1 year ago)
- Topics: grpc, grpc-client, grpc-server, js, nodejs
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> A very minimal implementation of grpc client and service in node.js
## Instructions to run
Install the grpc dependencies,
```sh
$ npm install
```
Start the server,
```sh
$ node server.js
GRPC server is running on 50051
```
On a different terminal window, test the server by invoking the client script.
```sh
$ node client.js
{
major: 1,
minor: 2,
micro: 3,
additional: 'additional version info'
}
```
That's all folks!