github.com/vcilabs/webrpc@v0.5.2-0.20201116131534-162e27b1b33b/_examples/golang-nodejs/README.md (about)

     1  webrpc golang-nodejs example
     2  ============================
     3  
     4  * Server: Go
     5  * Client: Nodejs (Javascript)
     6  
     7  NOTE: please use node v11.9.0 which has the new experimental es module support, so we can
     8  just import es6 code as you'd expect to work.
     9  
    10  ## Usage
    11  
    12  1. `$ cd client; npm install` -- need to install npm modules for node client, we need the `node-fetch` polyfill
    13  2. `$ make run-server` -- in one terminal, to start the Go server
    14  3. `$ make run-client` -- in another terminal, to run the Nodejs client to make some RPC calls