rwadurian/backend/services/planting-service
Developer 98f5d948dd feat(planting-service): Implement complete planting service with DDD architecture
- Domain Layer:
  - PlantingOrder aggregate with full lifecycle management
  - PlantingPosition aggregate for user holdings
  - PoolInjectionBatch aggregate for 5-day batch processing
  - Value objects: TreeCount, ProvinceCitySelection, FundAllocation, Money
  - Domain events for state transitions
  - FundAllocationDomainService for 10-target fund distribution (2199 USDT/tree)

- Application Layer:
  - PlantingApplicationService for order management
  - PoolInjectionService for batch processing
  - 5-second province/city confirmation mechanism

- Infrastructure Layer:
  - Prisma ORM with PostgreSQL
  - Repository implementations
  - External service clients (Wallet, Referral)
  - Object mappers

- API Layer:
  - REST controllers with Swagger documentation
  - JWT authentication guard
  - Request/Response DTOs with validation

- Testing:
  - 45+ unit tests
  - 12+ integration tests
  - 17+ E2E tests
  - Docker test environment

- Documentation:
  - Architecture design (DDD + Hexagonal)
  - API documentation
  - Development guide
  - Testing guide
  - Deployment guide

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 18:55:50 -08:00
..
.claude feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
docs feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
prisma feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
src feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
test feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
.env.development feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
.env.example feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
.gitignore feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
DEVELOPMENT_GUIDE.md . 2025-11-30 17:35:08 -08:00
Dockerfile feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
Dockerfile.test feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
Makefile feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
docker-compose.test.yml feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
nest-cli.json feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
package-lock.json feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
package.json feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
tsconfig.build.json feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00
tsconfig.json feat(planting-service): Implement complete planting service with DDD architecture 2025-11-30 18:55:50 -08:00