A simple example demonstrating API Gateway pattern using gRPC. For a blog post at << insert blog post address >>.
The repo contains 3 microservices:
users- Internal Users microserviceorders- Internal Orders microserviceapi-gw- External API gateway microserviceapigw-client- A simple client calling ListOrdersWithUser endpoint.
The api gateway is exposed externally and offers public api. Any call to the api gateway translates into 1 or multiple requests to internal microservices.
make build- Will build the binaries for each of the microservicesdocker-compose up- Will start all the microservices