MCPcopy Create free account
hub / github.com/Thodin/axum-clean-architecture

github.com/Thodin/axum-clean-architecture @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
37 symbols 52 edges 24 files 0 documented · 0% updated 11mo ago★ 1363 open issues

Browse by type

Functions 23 Types & classes 14
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Clean Architecture in Axum

This is an example of how to apply the principle of Clean Architecture (by Robert Martin) to an Axum project. Please note that I made some adaptations, which seem to be more practical for my use cases.

Feel free to use this repo as a template for your projects.

YouTube video with explanations: https://youtu.be/TrNpyFMtnzI

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 12
Class 11
Function 11
Interface 2
Enum 1

Languages

Rust100%

Modules by API surface

src/application/use_cases/user.rs10 symbols
src/adapters/http/routes/user.rs4 symbols
src/adapters/persistence/user.rs3 symbols
src/adapters/persistence/mod.rs3 symbols
src/infra/setup.rs2 symbols
src/infra/mod.rs2 symbols
src/infra/config.rs2 symbols
src/adapters/http/app_state.rs2 symbols
src/adapters/crypto/argon2.rs2 symbols
src/main.rs1 symbols
src/infra/db.rs1 symbols
src/infra/app.rs1 symbols

For agents

$ claude mcp add axum-clean-architecture \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page