How To Structure Your Go App - Full Course [ Hex Arch + Tests ]

Published: 02 May 2021
on channel: Kantan Coding
92,460
3k

Become a Golang Expert With This Hands-On Golang Course 👉 https://kantancoding.io

📚Learning Objectives: Hexagonal Architecture/ Ports & Adapters, Go Programming, gRPC, Docker, Docker Compose, Dependency Injection (DI), Inversion of Control (IoC), Unit Tests, End To End Tests

👨🏽‍💻Code: https://github.com/selikapro/hexArchG...
⌨️ grpc_entrypoint.sh: https://github.com/selikapro/hexArchG...

☠️ Course Contents ☠️
🔎 (0:00:00​) Intro
🔎 (0:02:20​) What Is Hex Arch?
🔎 (0:08:57​) Install Go
🔎 (0:12:29​) Domain Layer
🔎 (0:22:50​) Application Layer
🔎 (0:31:05​) Framework Layer (Database)
🔎 (0:46:25​) Framework Layer (gRPC)
🔎 (0:48:32​) What Is gRPC?
🔎 (0:51:20​) gRPC/Protoc - Install & Setup
🔎 (1:02:10​) .proto files
🔎 (1:17:25​) Framework Layer (gRPC) - Continued
🔎 (1:35:50​) Bringing It All Together (main.go)
🔎 (1:44:06​) Dependency Injection (DI)
🔎 (1:45:32​) Visualizing Our Hex Arch Implementation
🔎 (1:50:49​) What Is A Docker Container & Docker Compose?
🔎 (1:54:46​) Install Docker
🔎 (1:56:00​) Create Dockerfile
🔎 (2:01:32​) Create Entrypoint File
🔎 (2:04:36​) Create Docker Compose File
🔎 (2:15:56​) Create SQL Script For Tests Table
🔎 (2:17:01​) Add Unit Tests
🔎 (2:22:02​) Add End To End Tests
🔎 (2:37:07​) Running Tests Using Docker Compose
🔎 (2:43:39​) Ending Notes
🔎 (2:44:50​) Outro

📚🤓 References:
https://alistair.cockburn.us/hexagona...
http://www.dossier-andreas.net/softwa...
https://fideloper.com/hexagonal-archi...
https://blog.gougousis.net/the-not-so...
https://dzone.com/articles/hexagonal-...
https://en.wikipedia.org/wiki/Hexagon...)
   • dotGo 2019 - Kat Zień - Achieving mai...  
https://netflixtechblog.com/ready-for...
https://speakerdeck.com/fideloper/hex... Join the Discord to talk to me and the rest of the community!
  / discord