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:

  1. The latest version of Go installed and set up properly (this article uses Go 1.20.6)
  2. The Protobuf compiler (protoc) installed (this article uses protoc v3.21.12)
  3. The GoLand IDE (this article uses GoLand 2023.2)

You'll also need basic knowledge of Go and Protobuf.