Course of HTTP API in Go Applying Hexagonal Architecture
Learn how to develop your first HTTP API in Go by applying some of the fundamentals of Hexagonal Architecture.
💸 First lesson available without registration!
The use case for HTTP APIs (and similar) is one of the most frequent today in the development world, so there's no better way to continue learning the Go programming language than by implementing one.
To do this, we will follow some of the fundamentals of Hexagonal Architecture, which will help us in terms of maintainability, adaptability, testability, and scalability of the code.
What we will see in this course:
- 📂 Structure of a project in Go applying the fundamentals of Hexagonal Architecture.
- ⚡ Create an HTTP API in Go from the basics.
- 🌍 Define our HTTP interface and middlewares using the standard library and a framework (Gin).
- 💾 Create an implementation of our repository compatible with MySQL.
- 📬 Modeling, publishing, and subscribing to our domain events.
- ✅ Testing!: We will test our application using mocks, seeing examples as close to real life as possible.
Although some concepts are reviewed, this course assumes basic knowledge of both the Go programming language and Hexagonal Architecture.
Therefore, we recommend that you first take the course on Introduction to Go and the course on Hexagonal Architecture and then jump to this.

Videos of the course
Related courses
Pay according to your needs
lite (only monthly)
- Essential programming courses to build a solid foundation
- Company invoice
standard
- Main catalog to master writing maintainable, scalable, and testable code
- Receive job offers verified by Codely
- Company invoice
premium
- Exclusive AI courses to keep you always up to date
- Early access to new courses
- Discount on workshops
- Receive job offers verified by Codely
- Company invoice
We won't increase the price while your subscription is active