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

     1  hello-webrpc-ts
     2  ===============
     3  
     4  * Server: Go
     5  * Client: Web Browser (Typescript)
     6  
     7  Simple client+server app with Go api backend (server) and Typescript Webapp (client).
     8  
     9  1. `$ make bootstrap` - installs node modules for the webapp (client)
    10  2. `$ make run-server` - to start the Go server at http://localhost:4242/
    11  3. `$ make run-client` - build+start webapp via webpack dev server at http://localhost:4444/
    12  4. Open your browser to https://localhost:4444/ and open your console, and see rpc calls, tada
    13  
    14  webrpc comes with its own schema design language called RIDL, which stands for "RPC interface
    15  design language" :) it reads and feels like documentation, but it very flexible. See
    16  [hello-api.ridl](./hello-api.ridl) for the RIDL file for this service.
    17  
    18  as well, webrpc supports a json-formatted schema with the identical functionality as the RIDL format.
    19  See here, [hello-api.webrpc.json](./hello-api.webrpc.json).