How to design & develop REST microservices in Golang (Go)
- 20.5 hours on-demand video
- 1 article
- 2 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- How to structure and organize your microservice.
- Domain Driven Development.
- Hexagonal architecture applied.
- MySQL integration and configuration.
- Integrate Cassandra DB in your microservices.
- Elasticsearch integration and configuration.
- Logging to standard output and log files.
- DAO pattern implementation.
- How to build, publish and use a custom Go library.
- Testing all the layers of your application.
- How dependencies work in Go.
A brief description about what we're going to build during this course.
In this video we're looking at a quick preview on what we're going to build, the approaches, the technologies, the patterns, the tools, everything so you can have a good idea about what you're about to learn during this course.
In this lecture I'm just sharing the course repositories so you can take a look at them from day one. This is all we're going to do during this course! Don't feel overwhelmed, I can ensure you that by the end of this course you'll dominate all of this! Enjoy and let's Go :)
Implementing our services via interfaces so we have a consistent and mockeable business logic handler in our entire application.
An introduction to how dependencies work in Go and how we can use dep to generate and maintain our vendor folder.
GOROOT: Where Go is installed. Default: /usr/local/go
GOPATH: Workspace for Go projects. Default: ~/go
Go 1.13 set "modules" as the confirmed dependency system in Go.
Go < 1.13: Every Go project must be cloned INSIDE of your GOPATH.
Go >= 1.13: Every Go project using modules must be cloned OUTSIDE of your GOPATH.
- Just complete the Golang tour available at Golang's website
- Nice to have: Part 1 of this course
In this second part of the series I'm working with MySQL, Cassandra and Elasticsearch as persistence layers and we're going to create 3 different microservices using different design patterns: MVC, featured MVC and Domain Driven Development implementing the Hexagonal architecture.
At the end of the course you'll learn:
How to structure our application's packages and code.
MVC pattern, Domain Driven Development and Hexagonal Architecture applied!
How to configure MySQL client in Go. DAO pattern implemented.
How to configure and use CassandraDB client in Go.
How to configure and use Elasticsearch in Go.
Testing and mocking database integrations.
Stress test the microservice with goroutines.
How dependencies work in Go. Usage of Go modules.
How to build, publish, use and share a custom Go library.
Application design patterns.
Preparing our distributed logging system.
Real life examples and exercises.
I'm sure you're going to enjoy this course! if you have any doubts, please check the reviews on my other courses so you can get an idea about what you're about to get. This is real life and industry experience!
Hope to hear from you!
- Software engineers.
- Software developers.
- Technical leaders.
- Anyone who wants to get serious about microservices in Go.