Serverless Berlin Meetup - Aleksandar Simovic - Designing Testable Serverless Applications
https://www.youtube.com/watch?v=NHHOlc02088▾
◭ Testing serverless applications has evolved from the first days of serverless. Serverless changed the way we were planning, building, and deploying apps. But it also changed the way we were testing serverless apps. We learned that when using serverless functions we should introduce Hexagonal Architecture.
Hexagonal architecture enables us to design modular serverless functions that can be run and tested locally or in the serverless environment. It also allowed us to write unit tests without complex mocks, and write as many integration tests as you need. As a bonus, our code looks clean and it’s easy to maintain, and hexagonal architecture helps us fight vendor lock-in.
The main goal of this talk is to show how to design testable serverless functions. It starts with an explanation of hexagonal architecture and it’s importance for serverless apps, and it ends with real-world examples using Node.js.
◭ Get in touch with Alex: https://twitter.com/simalexan
◭ Join our Prisma Meetup group: https://www.meetup.com/pro/prisma-meetup/