A simple example of gRPC + protobuffers using CMake to generate the c++ code.
CMake already has bundled support for this using only protobuf but not for gRPC.
mkdir build
cd build
cmake ..
make
Run the server
./grpcserver
Run the client
./grpcclient