https://github.com/shabunin/grpc-api-gw
gRPC-proxy one-to-many with Reflection support
https://github.com/shabunin/grpc-api-gw
grpc grpc-gateway grpc-go grpc-golang grpc-proxy grpc-reflection
Last synced: about 1 month ago
JSON representation
gRPC-proxy one-to-many with Reflection support
- Host: GitHub
- URL: https://github.com/shabunin/grpc-api-gw
- Owner: shabunin
- Created: 2022-01-08T18:08:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-02T16:30:35.000Z (over 3 years ago)
- Last Synced: 2025-03-29T22:41:15.249Z (about 2 months ago)
- Topics: grpc, grpc-gateway, grpc-go, grpc-golang, grpc-proxy, grpc-reflection
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grpc-api-gw
This is experimental/researching project.
The purpose is to make use of grpc-proxy module and reflection feature to make grpc api-gateway or you call it proxy with zero configutarion.
All is needed - grpc reflection enabled and the proxy will automatically find methods for every connection.Article in russian with some explanations can be found at:
https://habr.com/en/post/645433/
## try in action
first, build docker-compose:
```
cd example
docker-compose build
docker-compose up
```It will start three services: echo, greeter and our proxy.
then connect with evans to proxy
```
evans --host localhost --port 42001 -r
```now you can select appropriate package, service, call methods.
You can connect to each service separately as well(use ports 50051 and 50052).
## based on:
* https://github.com/mwitkow/grpc-proxy
* https://github.com/jhump/protoreflect