This directory contains a C++ implementation of an example service. It serves as a reference implementation for building C++ services in this repository.
- Service architecture
- Protocol buffer integration
- Error handling
- Logging
- Configuration management
This project uses Bazel for building:
bazel build //cpp/example_service:...
bazel test //cpp/example_service:...
bazel run //cpp/example_service:server
This service uses protocol buffers for data serialization. The proto definitions can be found in the protos directory.
For optimal development experience, use CLion with the Bazel plugin or VSCode with the compile commands extractor as described in the main README.