Skip to content

feat(backend): add clean architecture layers#100

Merged
q-soriarty merged 4 commits intodevelopfrom
feature/backend-clean-architecture
Feb 14, 2026
Merged

feat(backend): add clean architecture layers#100
q-soriarty merged 4 commits intodevelopfrom
feature/backend-clean-architecture

Conversation

@q-soriarty
Copy link
Collaborator

Summary

  • Create FlowForge.Backend.Application project with entities, repository/service interfaces, business logic service stubs, and flow document validator
  • Create FlowForge.Backend.Infrastructure project with EF Core persistence (DbContext, entity configurations), repository implementations, and external service stubs (Git, MQTT, Docker, Keycloak, AES encryption)
  • Refactor FlowForge.Backend.Api to reference Application + Infrastructure, add controller stubs (Projects, Build, Deploy, Targets, Monitor, Admin), error handling and request logging middleware, Keycloak JWT auth setup
  • Update backend solution file to include all projects

Test plan

  • dotnet build src/backend/FlowForge.Backend.sln compiles without errors
  • Existing HealthController and BuildHub preserved
  • EF Core migrations can be generated (subsequent PR)

🤖 Generated with Claude Code

@q-soriarty q-soriarty force-pushed the feature/backend-clean-architecture branch from 1fb25d3 to 7520043 Compare February 14, 2026 13:55
q-soriarty and others added 2 commits February 14, 2026 15:05
Create FlowForge.Shared class library containing DTOs for Flow,
Build, Deploy, Project, Target, Auth, and Monitor domains. Add
enums for Permission and ProjectRole. Add type-safe MQTT topic
builders.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Introduce Application and Infrastructure projects following
Clean Architecture Lite pattern with service/repository interfaces,
EF Core, and external integration stubs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@q-soriarty q-soriarty force-pushed the feature/backend-clean-architecture branch from 7520043 to 4f32a61 Compare February 14, 2026 14:10
@github-actions
Copy link

github-actions bot commented Feb 14, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@q-soriarty q-soriarty changed the title feat(backend): implement clean architecture (Application + Infrastructure layers) feat(backend): add clean architecture layers Feb 14, 2026
@q-soriarty
Copy link
Collaborator Author

I have read the CLA Document and I hereby sign the CLA

@q-soriarty q-soriarty merged commit 076a735 into develop Feb 14, 2026
2 of 3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 2026
@q-soriarty q-soriarty deleted the feature/backend-clean-architecture branch February 14, 2026 14:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant