The server utilizes gRPC, implemented using tonic, and employs buf for downloading and compiling external dependencies. This includes tools like gnostic for OpenAPI generation and validate for validation purposes.
For building, compiling, downloading, and generating all proto-related materials, execute the following command:
make build-protoTo run any component in this directory ensure zookeeper is running with the following command:
cd .. && make run-zookeeperTo run the router execute the following command:
make run-routerTo run the server execute the following command:
make run-serverOptionally, you can run another server as follower:
make run-followerTo interact with the server, you can use the cli tool:
cargo run --bin client -- add test test
cargo run --bin client -- get test