flâneur

Master Hexagonal Architecture in Rust

howtocodeit.com · 9,571 words · saved by 1 readers

Everything you need to write flexible, future-proof Rust applications using hexagonal architecture.

Contents Introduction Part I: Anatomy of a bad Rust application What problems does hexagonal architecture solve? Hard dependencies and hexagonal architecture: how to make the right call Part II: Separation of concerns, the Rust way Getting started with hexagonal architecture The repository pattern in Rust Domain models Error types and hexagonal architecture Implementing AuthorRepository Everything but the kitchen async From the Very Bad Application to the merely Bad Application Testing HTTP handlers with injected repositories Part III: Service, the heart of hexagonal…

saved by

related reading