Skip to content

Refactor backend toward Clean Architecture - #1

Open
patryk-pszeniczny wants to merge 1 commit into
Brunoiooo:masterfrom
patryk-pszeniczny:feature/fix/ref/everythinkkkk
Open

Refactor backend toward Clean Architecture#1
patryk-pszeniczny wants to merge 1 commit into
Brunoiooo:masterfrom
patryk-pszeniczny:feature/fix/ref/everythinkkkk

Conversation

@patryk-pszeniczny

Copy link
Copy Markdown

Summary

  • refactor the backend toward Clean/Onion Architecture with clearer Domain, Application, Infrastructure, and API boundaries
  • replace Minimal API endpoint modules with controllers and dedicated command/query handlers
  • add application validation behavior, typed application exceptions, and centralized API exception handling
  • extract repository and notification interfaces and move infrastructure-specific implementations outward
  • simplify domain entities and add focused unit tests for domain and application behavior

Verification

  • dotnet test Messager.slnx --no-restore
  • 28 tests passed, 0 failed, 0 skipped

Notes

This PR preserves the existing API use cases while restructuring the backend for clearer responsibilities and testability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant