An example of how to set up tonic web wasm client with a tonic based gRPC server
Uses Yew for the front end and Tonic (with Tonic-Web) for the backend with tonic-web-wasm-client to glue them together.
To run Yew applications you need to install trunk
cargo install --locked trunk
You will need two console windows
cd server
cargo run
cd client
trunk serve
Then navigate to http://localhost:8080 and you can hit the button to get a message from the server
I hope to update this to make it a bit more involved, including database storage, sending data etc. But for now hopefully this helps people not have to dwell on problems that I had.