axum-hexagonal

Community

Build testable Rust APIs with hexagonal patterns.

Authorzzoohub
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Build scalable and maintainable Rust APIs by applying a hexagonal architecture that cleanly separates domain from infrastructure.

Core Features & Use Cases

  • Domain-driven design: model domain entities and business rules isolated from HTTP or DB concerns.
  • Ports & Adapters: define service traits and repository adapters to plug in infrastructure.
  • Service Layer & Testing: orchestrate use cases with testable, replaceable components; supports unit and integration testing.
  • Guidance & Limitations: clarifies when to use this approach versus other patterns.

Quick Start

Set up a Rust Axum API using hexagonal architecture by defining domain models, ports, adapters, and a service layer, then wire HTTP handlers without importing infrastructure crates into the domain.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: axum-hexagonal
Download link: https://github.com/zzoohub/mealio/archive/main.zip#axum-hexagonal

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.