Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kostyay/grpc-api-gateway-example

API Gateway pattern demonstration for gRPC
https://github.com/kostyay/grpc-api-gateway-example

example-project golang grpc

Last synced: about 2 months ago
JSON representation

API Gateway pattern demonstration for gRPC

Awesome Lists containing this project

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