grpc-to-graphql-adapter

module
v0.0.0-...-d71cc38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2016 License: Apache-2.0

README

gRPC to GraphQL Adapter

  • adapts a gRPC API and provides the methods as a GraphQL API
  • you have to provide a proto file inside the docker container which describes the service to adapt (default full name of the proto file is /api/main.proto)
  • the adapter provides an API description at http://<host>/graphql/api/html (HTML version) and http://<host>/graphql/api/md (Markdown verion)
  • build docker container with docker build -t <containerName> <pathToDockerfile>
  • run docker container with docker run -p 40022:40022 <containerName>
  • to connect to a running gRPC server, you have to set at least the environment variables API_HOST and API_PORT in the Dockerfile (IP and port of the host running the gRPC service)

The container image can be pulled from dockerhub with docker pull wilhelmstephan/grpc-to-graphql-adapter.

Directories

Path Synopsis
node_modules
grpc/third_party/boringssl/ssl/test/runner
Package tls partially implements TLS 1.2, as specified in RFC 5246.
Package tls partially implements TLS 1.2, as specified in RFC 5246.
grpc/third_party/boringssl/ssl/test/runner/curve25519
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
grpc/third_party/boringssl/ssl/test/runner/poly1305
Package poly1305 implements Poly1305 one-time message authentication code as specified in http://cr.yp.to/mac/poly1305-20050329.pdf.
Package poly1305 implements Poly1305 one-time message authentication code as specified in http://cr.yp.to/mac/poly1305-20050329.pdf.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL