https://github.com/stoakes/unplugrpc
HTTP to gRPC gateway + UI. Expose your gRPC endpoints with ease.
https://github.com/stoakes/unplugrpc
grpc grpc-client grpc-gateway grpc-web
Last synced: 9 months ago
JSON representation
HTTP to gRPC gateway + UI. Expose your gRPC endpoints with ease.
- Host: GitHub
- URL: https://github.com/stoakes/unplugrpc
- Owner: Stoakes
- License: agpl-3.0
- Created: 2018-07-22T06:35:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-15T07:46:55.000Z (over 7 years ago)
- Last Synced: 2025-06-04T20:56:29.902Z (10 months ago)
- Topics: grpc, grpc-client, grpc-gateway, grpc-web
- Language: JavaScript
- Homepage:
- Size: 747 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UnplugRPC
[](https://travis-ci.org/Stoakes/unplugrpc)
[](LICENCE)
UnplugRPC is a gateway to expose your gRPC endpoints through an HTTP API, making them more accessible.
It has no production purpose, but is suited for manual manipulation or tests of gRPC services.
With its user interface UnplugRPC can be used as a small Postman for gRPC.
If you are looking for all the Postman features, see the doc for more details about UnplugRPC API.
## Install
```bash
# Assuming NodeJs 8 and Yarn are installed
git clone https://github.com/Stoakes/unplugrpc.git
cd unplugrpc/gateway
npm install
npm run build
npm start
```
[Detailled installation available in the documentation](docs)
## Docker image
```bash
docker run -p 8000:8000 stoakes/unplugrpc
# Then open your browser at http://localhost:8000
```
## Run on Kubernetes cluster
```bash
# Assuming you what you are doing
kubectl run unplugrpc --image stoakes/unplugrpc:latest --port 8000
kubectl expose deployment unplugrpc --type NodePort --port 8000
# Find which port is assigned to unplugrpc service
kubectl get service
# Visit unplugrpc at http://[EXTERNAL_IP]:[NODE_PORT]
```
## Credits
Some of the gateway code is inspired from [konsumer/grpc-dynamic-gateway](https://github.com/konsumer/grpc-dynamic-gateway), which is a re-implementation of [grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway) in NodeJS.
UI template is [creativetimofficial/light-bootstrap-dashboard-react](https://github.com/creativetimofficial/light-bootstrap-dashboard-react).