Part 2. Developing, testing, and deploying a gRPC microservice application

In part 2, we begin by showing you how to set up your environment to work with Go, gRPC, and related tools for your microservices application. You will also be guided through how to structure your project so that services are integrated smoothly. You will be introduced to hexagonal architecture, as well as a step-by-step demonstration on how to apply it to your microservices application.

Once you have structured your project, we’ll move on to practical communication patterns using gRPC’s built-in client-server interaction capabilities. Resilience is crucial for stable services, and you’ll learn techniques to recover from failures during service-to-service communication. Hexagonal architecture uses layers, and we’ll illustrate how to write unit and integration tests for each layer using Go.

After completing the application development, you will be introduced to Kubernetes basics and become familiar with its well-known resources. You will learn how to deploy each service to a Kubernetes environment using these resources. This includes proper security measures for publicly securing and exposing your application.