grpc-api-gateway-example

module
v0.0.0-...-2a915c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2021 License: BSD-3-Clause

README

grpc-api-gateway-example

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 microservice
  • orders - Internal Orders microservice
  • api-gw - External API gateway microservice
  • apigw-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.

Working with the project

  • make build - Will build the binaries for each of the microservices
  • docker-compose up - Will start all the microservices

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL