REST based microservices API development in Golang

REST based microservices API development in Golang

Master the concept of microservices API development using the Hexagonal Architecture in Go

What you’ll learn

  • Apply SOLID design principles in Go
  • Master the Hexagonal Architecture design and its implementation
  • Implement authentication and authorization using JWT access & refresh tokens
  • Apply RBAC Authorization to APIs
  • Understand how dependency injection works in Go
  • Understand and implement the structured logging
  • Build microservices API in Go
  • Code Refactoring in Go
  • Decoupling the domain objects and DTOs
  • Working with small steps
  • Take the informed decision on choosing various libraries
  • Understand the role of multiplexer in HTTP web server
  • Encoding structs to JSON or XML
  • Understand the routing capabilities of gorilla/mux
  • Design your own error library
  • State based unit testing
  • Unit testing using the mocks


  • Student should know basic golang programming concepts like structs, receiver functions and interface
  • Student should be comfortable with object oriented programming concepts


In this course, you will learn microservices API development using the Hexagonal Architecture. We will start the development from the scratch. Taking the small steps, we will be building the foundation by continuously improving the design of the application. We will explore how the dependency inversion plays a pivotal role in implementing the Hexagonal architecture.

Later on, we will be building an auth API to manage the Authentication and Authorization of our main application.

By the end of the course, we will learn to unit test various components using state and mocks and will also understand the complexities in testing those components.

Who this course is for:

  • Developers who want to take their career to the next level by improving their skills and learning about REST based microservices API development.
  • College students currently learning about Golang.
  • Experienced developers that have recently started working with Go and want to learn how microservices development is done in golang.

This is a very good course for golang beginners, and maybe for intermediate levels as well; it teaches you with a sample bank application using hexagonal architecture; also provides implemenatation of rbac for the apis developed; the instructor is responsive as well. Recommended.

Course content

6 sections • 42 lectures • 6h 42m total length
  • Introduction
  • Router Basics
  • Application Development
  • Security
  • Unit Testing
  • Advance Topics
Created by: Ashish Juyal, Founder at The Code Camp
Last updated 3/2021
Direct Download Available
Rating: 4.3 out of 5
(113 ratings)
5,405 students

Download link

Add a Comment

Your email address will not be published. Required fields are marked *