Prerequisites
Prepare Your Software for a Task Management App Build.
What You Will Build
In this tutorial, you'll build a simple task management app. The app will use a database to store tasks and have simple gRPC endpoints to create and list tasks. You'll also write an HTTP reverse proxy using the grpc-gateway
plugin, which will let REST clients connect to the API as well. Finally, you'll write a gRPC client to consume the API.
To follow along with the tutorial, you'll need:
- The latest version of Go installed and set up properly (this article uses Go 1.20.6)
- The Protobuf compiler (
protoc
) installed (this article usesprotoc
v3.21.12) - The GoLand IDE (this article uses GoLand 2023.2)
You'll also need basic knowledge of Go and Protobuf.