Skip to content

protop-io/numbers-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"MoneyService" gRPC Client Example (Node)

This project contains a simple client in Node that uses the numbers-protos library to make calls to the MoneyService gRPC service (implemented in Java here).

You can read the full tutorial for these examples here.

Run the example

You'll need Node and protop. You'll also need an implementation of the MoneyService running at localhost:8080.

Install with:

yarn install

and then you can run the script:

node .

You should get a console output similar to the following:

Original: 7.3406037480265685 USD
Converted: 5.33649466631217 MXN

About

Example of a gRPC client implementation in Node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published