- Server: Go
- Client: Web Browser (Javascript)
Simple client+server app with Go api backend (server) and Javascript Webapp (client).
$ make tools
- to downloadwebify
cli to serve the 'webapp/' local files$ make run-server
- to start the Go server at http://localhost:4242/$ make run-client
- to serve webapp files at http://localhost:4444/- Open your browser to https://localhost:4444/ and open your console, and see rpc calls, tada
webrpc comes with its own schema design language called RIDL, which stands for "RPC interface design language" :) it reads and feels like documentation, but it very flexible. See hello-api.ridl for the RIDL file for this service.
as well, webrpc supports a json-formatted schema with the identical functionality as the RIDL format. See here, hello-api.webrpc.json.