Skip to content

alexisvisco/graphql-proxy-grpc

Repository files navigation

Graphql proxy grpc

The graphql-proxy-grpc is a protoc plugin abd a CLI. It reads protobuf service definitions and generates a reverse-proxy server which translates a Graphql API into gRPC. The graphql server is generated using gqlgen.

There is two binaries, one protoc plugin that generate the graphql schema based on your proto specification and one binary that generate go resolvers based on the previous generated schema.

Features

  • Enum
  • Messages
  • Map
  • Services (rpc method customization for query and mutation)
  • Multi packages
  • Grpc clients customizable
  • Oneof (not planned)
  • Documentation with comment (planned)
  • Ovveride naming (planned)

Usage/Examples

Using buf

todo

Using protoc

todo

Related

Here are some related projects

gqlgen grpc gateway

About

Protoc plugin that generate a graphql proxy based on grpc services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published