Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kostyay/grpc-api-gateway-example
- Owner: kostyay
- License: bsd-3-clause
- Created: 2021-04-06T09:24:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T16:08:16.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T12:02:21.475Z (7 months ago)
- Topics: example-project, golang, grpc
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 11
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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