Skip to content

Helmsen/gRPC-to-GraphQL-Adapter

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published