gRPC-Gateway is a plugin of protoc. It reads a gRPC service definition and generates a reverse-proxy server which translates a RESTful JSON API into gRPC. This server is generated according to custom options in your gRPC definition. gRPC-Gateway helps you to provide your APIs in both gRPC and RESTful style at the same time. gRPC is great -- it generates API clients and server stubs in many programming languages, it is fast, easy to use, and bandwidth-efficient and its design is combat-proven by Google. However, you might still want to provide a traditional RESTful JSON API as well. Reasons can range from maintaining backward compatibility, supporting languages or clients that are not well supported by gRPC, to simply maintaining the aesthetics and tooling involved with a RESTful JSON architecture. This project aims to provide that HTTP+JSON interface to your gRPC service.

Features

  • Helps you provide your APIs in both gRPC and RESTful style at the same time
  • Generates API clients and server stubs in many programming languages
  • It is fast, easy-to-use, bandwidth-efficient and its design is combat-proven by Google
  • This project aims to provide that HTTP+JSON interface to your gRPC service
  • A small amount of configuration in your service to attach HTTP semantics is all that's needed to generate a reverse-proxy with this library
  • Compile from source

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow gRPC-Gateway

gRPC-Gateway Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gRPC-Gateway!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks, Go Proxy Servers, Go Reverse Proxy Server

Registered

2023-01-03