Skip to Content
gRPC Microservices in Go
book

gRPC Microservices in Go

by Huseyin Babal
December 2023
Intermediate to advanced
200 pages
5h 20m
English
Manning Publications
Content preview from gRPC Microservices in Go

4 Microservice project setup

This chapter covers

  • Using hexagonal architecture for microservice projects
  • Setting up tool kits for services
  • Running a basic microservice application
  • Making the initial request for running an application

It is very normal to ask, “How should I structure my project?” before writing the first line of your Go microservice project. The answer to this question might seem difficult initially, but it is easy to apply some common software architecture patterns that help solve challenges such as building modular projects to have testable components. Let’s see how to apply those principles to a Go microservice project and perform some tests to see how gRPC endpoints work.

4.1 Hexagonal architecture

Hexagonal architecture ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Kubernetes in Action

Kubernetes in Action

Marko Luksa
Concurrency in Go

Concurrency in Go

Katherine Cox-Buday

Publisher Resources

ISBN: 9781633439207Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link