Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siyanew/grpcson
GRPSCON converts GRPC to JSON.
https://github.com/siyanew/grpcson
grpc grpc-gateway json
Last synced: 3 months ago
JSON representation
GRPSCON converts GRPC to JSON.
- Host: GitHub
- URL: https://github.com/siyanew/grpcson
- Owner: siyanew
- License: gpl-3.0
- Created: 2021-04-20T12:32:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-16T17:08:02.000Z (about 3 years ago)
- Last Synced: 2024-04-18T16:58:01.974Z (7 months ago)
- Topics: grpc, grpc-gateway, json
- Language: HTML
- Homepage:
- Size: 51.8 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-grpc - grpcson - An easy to use proxy which translates JSON HTTP requests to gRPC calls with web ui (Tools / Other)
README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]## Getting Started
Unlike GRPC Gateway GRPCSON is easy to install to test for local development.
Follow these simple steps to setup a local copy.### Prerequisites
You will need [docker](https://docs.docker.com/get-docker/) and [docker-compose](https://docs.docker.com/compose/install/) on your machine.
Your GRPC Server must support reflection, to see how to set up reflection please visit [this](https://github.com/grpc/grpc/blob/master/doc/server-reflection.md).
### InstallationGRPCSON needs the port and host to be configured in the `docker-compose.yml` file, after that run:
```
docker-compose up -d
```## Usage
Open the following address in your browser and check the services and methods. Then send your request as a post to the url with a json body and receive a json response.
```
http://localhost:5912
```## TODO
- [ ] Add Option for TLS connection
- [ ] Add Option to accept protos## Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## License
Distributed under the GPL-3 License. See `LICENSE` for more information.
## Acknowledgements
* [GRPCURL](https://github.com/fullstorydev/grpcurl)
* [GRPCSON Logo by Freepik](https://freepik.com)[contributors-shield]: https://img.shields.io/github/contributors/siyanew/Siarobo.svg?style=flat
[contributors-url]: https://github.com/siyanew/grpcson/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/siyanew/grpcson.svg?style=flat
[forks-url]: https://github.com/siyanew/grpcson/network/members
[stars-shield]: https://img.shields.io/github/stars/siyanew/grpcson.svg?style=flat
[stars-url]: https://github.com/siyanew/grpcson/stargazers
[issues-shield]: https://img.shields.io/github/issues/siyanew/grpcson.svg?style=flat
[issues-url]: https://github.com/siyanew/grpcson/issues
[license-shield]: https://img.shields.io/github/license/siyanew/grpcson.svg?style=flat
[license-url]: https://github.com/siyanew/grpcson/blob/master/LICENSE.txt
[product-screenshot]: images/screenshot.png