README.md 753 B

Route Guide - A sample gRPC Application

This directory contains the source and generated code for the gRPC "Route Guide" example.

The tutorial relating to this example can be found in grpc-swift/docs/basic-tutorial.md.

Running

To start the server, from the root of this package run:

$ swift run RouteGuideServer

Once the server has started it will print out the port is listening on. This must be passed to the client.

$ swift run RouteGuideClient <PORT>

Regenerating client and server code

For simplicity, a Makefile is provided in the root of this package with a target to generate client and server code:

$ make generate-route-guide