[gRPC #18] Generate RESTful service and swagger documentation with gRPC gateway

Описание к видео [gRPC #18] Generate RESTful service and swagger documentation with gRPC gateway

gRPC is not a tool for everything. There are cases where we still want to provide a traditional RESTful JSON API. In this video, we will learn how to use gRPC gateway to generate RESTful web service and its swagger API documentation. This enables us to write code just once but serving both gRPC and REST requests at the same time.

gRPC gateway is a plugin of the protocol buffer compiler. It reads the protobuf service definitions and generates a proxy server, which translates a RESTful HTTP call into gRPC request. All we need to do is a small amount of configuration in the service.

Buy us a coffee: https://www.buymeacoffee.com/techschool
gRPC gateway repository: https://github.com/grpc-ecosystem/grp...
View all videos of the complete gRPC course in this playlist: http://bit.ly/grpccourse
Support us and get a certificate of completion by purchasing on Udemy: https://bit.ly/udemygrpc

---

Github repository:
Golang: https://github.com/techschool/pcbook-go
Java: https://github.com/techschool/pcbook-...

If you're using microservices architecture, you definitely want to try gRPC. It is super-fast, strongly-typed, and you no longer need to write a lot of boilerplate codes for inter-service communication. Thanks to awesome HTTP/2 and Protocol Buffer!

In this course, we will learn about gRPC and how to use it with Protocol Buffer to develop an application in Go and Java.

TECH SCHOOL - From noob to pro
   / techschoolguru  
At Tech School, we believe that everyone deserves a good and free education. We create high-quality courses and tutorials in Information Technology. If you like the videos, please feel free to share and subscribe to support the channel.

Комментарии

Информация по комментариям в разработке