Skip to content

Feature: Define Backend Domain Module Boundaries #60

Description

@3m1n3nc3

Description

Define enforceable ownership boundaries for identity, users, curriculum, learning, assessments, rewards, credentials, referrals, notifications, organizations, and blockchain integration.

File Location

learnault-api/src/, learnault-api/docs/ARCHITECTURE.md, and learnault-api/docs/domains/

Design Reference

API Roadmap Phase 0: Define Backend Domain Module Boundaries.

Dependencies

  • Status: Ready
  • Blocked by: None
  • Blocks: Feature: Standardize API Contracts Pagination and Versioning; Feature: Add Transaction Outbox and Job Delivery Foundation

Tasks

  • Inventory current routes, controllers, services, types, and cross-domain imports
  • Define every domain responsibility, public interface, and forbidden dependency
  • Define the shared kernel for config, errors, logging, database, and jobs
  • Resolve ownership of completion, reward, credential, referral, and notification orchestration
  • Add import-boundary lint rules or architecture tests
  • Document request and domain-event flows

Acceptance Criteria

  • Every source file maps to one domain or the shared kernel
  • Forbidden and circular dependencies fail an automated check
  • Cross-domain ownership is unambiguous
  • Architecture checks and build pass

Verification Evidence

  • Attach the reviewed domain map and passing architecture-check output

Difficulty

Advanced

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions