DEV Community

Cover image for Multitenancy module for NestJS with a deep integration into the system as whole.
Alexander Cucer
Alexander Cucer

Posted on

Multitenancy module for NestJS with a deep integration into the system as whole.

Multitenancy is widely used acros the web as software deployment options called whitelabels. Data in between tenants are separated, however nowadays there is business by sharing data inbetween the peer businesses; as an example might serve a E-commerce platform that shares their clients with twin/friendly shop, or there's some unified backoffice interface... Thus a good idea would be having the data under the same database (think namespace) instead of having to separate into different databases, in order to be able to query it efficiently and avoid duplication or synchronization issues.

Link: https://github.com/AlexanderC/nestjs-mtenant

Cheers.

Top comments (0)