Skip to content

Files

Latest commit

author
Patrick Koss
Jan 2, 2024
ace7c03 · Jan 2, 2024

History

History

server

Introduction

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-proto

Running the server

To run any component in this directory ensure zookeeper is running with the following command:

cd .. && make run-zookeeper

To run the router execute the following command:

make run-router

To run the server execute the following command:

make run-server

Optionally, you can run another server as follower:

make run-follower

Interacting with the server

To interact with the server, you can use the cli tool:

cargo run --bin client -- add test test
cargo run --bin client -- get test