The idea of hexagonal architecture is to allow an application to equally be driven by users, programs, automated test or batch scripts, and to be developed and tested in isolation from its eventual run-time devices and databases. On the other hand, it’s not trivial to test serverless applications locally. But what if we apply hexagonal architecture to serverless apps? They seem a natural fit!
With hexagonal architecture, your can design testable serverless functions. It also allows you to write unit tests without complex mocks, and as many integration tests as you need. As a bonus, your code looks clean and it’s easy to maintain. Hexagonal architecture also helps you fight vendor lock-in.
This talk is for both beginners and experienced developers.