Just an idea about microservice design
The core item is a node. A node has own private core and gateway. A connection via gateway link node together to make a network.
For a bigger context, we need a supernode to include some modules (normal node) and we have a Corona model
Typescript template follows node approach above: