Course of HTTP API in Go Applying Hexagonal Architecture

Adrián PérezJoan López de la FrancaJavier Ferrer

By Adrián Pérez, Joan López de la Franca y Javier Ferrer Software Design and Architecture y Backend

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

See full catalogue

Pay according to your needs

lite (only monthly)

19 €
per month
  • Access to a subset of courses to lay the foundation for maintainable, scalable, and testable code
  • Company invoice
Popular

standard

24,92 €
Save 121
Annual payment of 299
per month
  • Full course catalog
  • Design and architecture challenges
  • Highlighted solutions videos for challenges
  • Receive job offers verified by Codely
  • Company invoice

premium

41,58 €
Save 89
Annual payment of 499
per month
  • Everything above
  • More benefits coming soon

We won’t increase the price while your subscription is active