/swagger_redoc

Primary LanguageGoMIT LicenseMIT

Building Microservices in Go YouTube

Code repository for my Building Microservices YouTube series https://www.youtube.com/playlist?list=PLmD8u-IFdreyh6EUfevBcbiuCKzFk0EW_

Week by week Building Microservices builds on the previous weeks code teaching you how to build a multi-tier microservice system. The code structure for the course is one of a mono repo. To make it simple to follow along, each episode has its own branch showing progress to date.

Run

http://localhost:9090/swaggerui/ swagger generate spec -o ./swagger.json --scan-models

Series Content:

Over the weeks we will look at the following topics, teaching you everything you need to know regarding building microservices with the go programming language:

  • Introduction to microservices
  • RESTFul microservices
  • gRPC microservices
  • Packaging applications with Docker
  • Testing microservice
  • Continuous Delivery
  • Observability
  • Using Kubernetes
  • Debugging
  • Security
  • Asynchronous microservices
  • Caching
  • Microservice reliability using a Service Mesh

Episode 1 - Building a simple microservice

Branch: episode_1

In this episode I show you how to build the simplest service you can using the standard packages in the Go programming language.

Episode 2 - Building a simple microservice, continued

Branch: episode_2

In this episode we learn more about the standard library and look at how we can refactor last episodes example into a reusable microservice pattern.

Episode 3 - RESTFul microservices

Branch: episode_3

In this episode we start to learn about RESTFul services and reading and writing data using the JSON format.

Episode 4 - RESTful microservices

Branch episode_4

We continue to look at how you can implement RESTFul services with the Standard API

Episode 5 - Gorilla toolkit

Branch episode_5

In this epsode we refactor our Standard library RESTful service and start to implement the Gorill toolkit for routing.

Episode 6 - JSON Validation

Branch episode_6

In this episode we will look at the Go Validator package and how it can be used to validate JSON.

Episode 7 - Documenting APIs with Swagger

Branch episode_7

This epsiode shows you how you can document the API we have been building over the last couple of weeks. As a bonus we will also look at how we can embed ReDoc to build a nice documentation API direct into our service.