Creating simple client server application using gRPC.
Some available resources:
- Building gRPC services with
bazel
andrules_protobuf
- gRPC Java Repo
- gRPC Scala Guide
- Sample Scala App
Using bazel
to build the whole project:
bazel build "..."
List the project contents
bazel query "..." --output label_kind | sort | column -t
Using bazel
to run the server:
# Go Server
bazel run //calculator/go/server:run_server
# Scala Server
bazel run //calculator/scala/server:run_server
Using bazel
to run the client:
# Go Client
bazel run //calculator/go/client:run_client
# Scala Client
bazel run //calculator/scala/client:run_client
If using Intellij, read here