Beginner's Guide to Go Protocol Buffer
3h 4mBeginner2023-05-11
Authors

Martine Moses
Back-End and Integration Developer
Course details
Are you looking for alternatives to REST APIs to improve internal communication between services? In this course, instructor Martine Moses shows you how to create fast APIs using the Google Protocol Buffer (protobuf) and Google Remote Procedure Call (gRPC), two of the most consistent, easy-to-use, open-source options for connecting and managing services across multiple platforms.
Explore the basics of protocol buffers and gRPCs, when to use which, how to define a protobuf, how to set up a gRPC, and more. Boost your career with in-demand skills that you can apply on your next job search, testing out your new technical know-how in the exercise challenges at the end of each section. Upon completing this course, you’ll be ready to start defining protobuf messages and services, as well as creating gRPC servers and clients in both Go and TypeScript.
Explore the basics of protocol buffers and gRPCs, when to use which, how to define a protobuf, how to set up a gRPC, and more. Boost your career with in-demand skills that you can apply on your next job search, testing out your new technical know-how in the exercise challenges at the end of each section. Upon completing this course, you’ll be ready to start defining protobuf messages and services, as well as creating gRPC servers and clients in both Go and TypeScript.
Skills covered
GoSoftware ArchitectureAPIsFull-Stack Web DevelopmentGoogleWeb DevelopmentProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Go protocol buffer
- 02 - What you should know
- 03 - GitHub Codespaces
1. Protocol Buffers Overview
- 04 - What is a gRPC
- 05 - gRPC vs. REST
- 06 - What are protocol buffers (protobuf)
- 07 - Protobuf vs. JSON
2. Defining Protocol Buffer Messages and Services
- 08 - How to define a protobuf messages
- 09 - How to define protobuf services and compiling
- 10 - Challenge 1
- 11 - Solution 1 - Part 1
- 12 - Solution 1 - Part 2
- 13 - Solution 1 - Part 3
3. gRPC Servers and Clients in Go
- 14 - Creating a gRPC server - Go
- 15 - Creating gRPC client - Go
- 16 - Challenge 2
- 17 - Solution 2 - Part 1
- 18 - Solution 2 - Part 2
- 19 - Solution 2 - Part 3
- 20 - Solution 2 - Part 4
4. gRPC Servers and Clients in TypeScript
- 21 - Creating a gRPC server - TypeScript
- 22 - Creating a gRPC client - TypeScript
- 23 - Challenge 3
- 24 - Solution 3 - Part 1
- 25 - Solution 3 - Part 2
Conclusion
- 26 - Additional resources