Simple Hello World service in gRPC including an example for a corresponding CMake build system
| buffers | ||
| client | ||
| controller | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
Simple gRPC demo
Welcome to this simple gRPC test project. In this repository you will find a minimal example for using gRPC. To keep the footprint low, certain dependencies are expected to already be present on the system you are compiling this on.
These are:
- gRPC itself (be aware of potential consequences of installing gRPC globally; installation through a package manager or into a custom install location are recommended; see root CMakeLists.txt to configure a custom location)
- Abseil (required by gRPC)
This simple service provides a Hello World client and server, as well as the corresponding build system. The server is implemented as a callback server, which you can read more about here; it is currently (2025) the preferred way of implementing a gRPC server.