Web <--- HTTP 1.1/GRPC-WEB ---> Caddy Proxy <--- HTTP2.0/GRPC ---> Backend
A simple Greeter
service from the /protos
folder
- Backend: a precompiled GRPC server, which implements the
Greeter server
- Web: a prebuilt precompiled implementation of the Web APP, which implements the
Greeter client
- Caddy-grpc a prebuilt
Caddy
master with the GRPC plugin - Caddyfile with a proper definition
- Check the Caddyfile. Change the hardcoded IP
192.168.1.93
to the proper value - docker-compose up
- open the web browser and run
localhost
- Press
F12
to open a browser console - Hit the counter button to see the results
Each time clicking a Count is
button a new message in the Web browser console appears