Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielvladco/go-proto-gql
Protobuf plugins for generating graphql schema and golang to graphql bindings. Also supports a graphql gateway (Alpha)
https://github.com/danielvladco/go-proto-gql
gateway generate go graphql graphql-schema graphql-server grpc grpc-servers protobuff protoc-plugins protocol-buffers
Last synced: about 3 hours ago
JSON representation
Protobuf plugins for generating graphql schema and golang to graphql bindings. Also supports a graphql gateway (Alpha)
- Host: GitHub
- URL: https://github.com/danielvladco/go-proto-gql
- Owner: danielvladco
- License: apache-2.0
- Created: 2018-06-19T21:52:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T15:45:22.000Z (7 months ago)
- Last Synced: 2024-10-30T08:37:59.704Z (14 days ago)
- Topics: gateway, generate, go, graphql, graphql-schema, graphql-server, grpc, grpc-servers, protobuff, protoc-plugins, protocol-buffers
- Language: Go
- Homepage:
- Size: 781 KB
- Stars: 216
- Watchers: 4
- Forks: 53
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![codecov](https://codecov.io/gh/danielvladco/go-proto-gql/branch/refactor-and-e2e-tests/graph/badge.svg?token=L3N8kUGpGV)](https://codecov.io/gh/danielvladco/go-proto-gql)
This project aims to solve the problem of communication between services that use different API protocols.
Such as GraphQL and gRPC.Let's say your backend services use gRPC for fast and reliable communication however your frontend uses GraphQL.
Normally your only two options:1. Either expose gRPC endpoints alongside GraphQL endpoints or build and
2. Maintain another service that acts as a gateway between your backend infrastructure and frontend application.This project provides tools to help you build your API much quicker for both of these cases.
1. Use `protoc-gen-gql`, `protoc-gen-gogql` and `proto2graphql` to generate boilerplate code on your backend.
2. Spin up a gateway and convey the messages from one protocol to the other on the fly!Check out the docs for getting started and usage examples at: https://danielvladco.github.io/go-proto-gql/
## Community:
Will be happy for any contributions. So feel free to create issues, forks and PRs.## License:
`go-proto-gql` is released under the Apache 2.0 license. See the LICENSE file for details.