Skip to content

Conversation

@taiki-kuraishi
Copy link
Contributor

@taiki-kuraishi taiki-kuraishi commented Dec 29, 2025

Summary

Implement domain-driven development (DDD) patterns for server management. Added new domain and domain-impl packages with use-cases for server control operations.

Target Package

  • packages/domain - Domain layer definitions
  • packages/domain-impl - Domain layer implementation

Changes (What)

  • Create domain package with Entity, Repository, Use-case, Error, and Service abstractions
  • Create domain-impl package with concrete implementations
  • Implement Server entity and related business logic
  • Add Server repository for data access abstraction
  • Add server control use-cases:
    • Get all controllable servers
    • Start server by user
    • Stop server by user
    • Restart server by user
  • Implement Dokploy infrastructure client
  • Add error handling for domain and external dependency failures
  • Add comprehensive unit and integration tests

Related Issues

  • N/A

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing completed
  • All existing tests pass

Breaking Changes

  • No breaking changes

Checklist

  • All checks pass

@taiki-kuraishi taiki-kuraishi self-assigned this Dec 29, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 29, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
roppoh e72a54b Commit Preview URL

Branch Preview URL
Jan 05 2026, 01:51 AM

@taiki-kuraishi taiki-kuraishi changed the title ✨ domain ✨ domain-driven development architecture Dec 29, 2025
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.

2 participants