Code sharing

Common

Tight coupling

App logic

Application level

Essent core modules

API Gateway

Application level

Essent core modules

API Gateway

Application level

Essent core modules

API Gateway

agreementId?

premiseId?

GET /budget-bill-amount

Common

loose coupling

App logic

Common

Tight coupling

App logic

Common

App logic

loose coupling

Common

App logic

loose coupling

Advantages

  • Shared communication to API gateway.
  • Shared REST based data model.
  • node_modules.
  • Shared RxJS data structure.

     

     

Advantages

  • Shared communication to API gateway.
  • Shared REST based data model.
  • node_modules.
  • Shared RxJS data structure.
  • Reuse ED Mobile code.
  • Optional Middleware.

Drawbacks

  • (Some) Duplicated middleware code.
  • Restructuring ED app.
  • ....

deck

By rachnerd

deck

  • 342