Keystone JS/Node js - multi-tenant SaaS application

北慕城南 提交于 2020-01-14 03:37:10

问题


I am trying to design a multi-tenant SaaS application and I am using Keystone js (Node JS framework) which uses Mongo Database.

The model that I want to use is Physical Separation of Data: This approach separates the data by provisioning different database for different tenants/clients. This helps us to scale our application as the number of clients grows and also scale the database as per the clients need.

The problem is I dont know how to configure or create a settings on Keystone that would implement a multi tenant system.

Here https://blog.lftechnology.com/designing-a-secure-and-scalable-multi-tenant-application-on-node-js-15ae13dda778 is an example but it uses a different database and its not mongo nor keystone js.

Does anyone have an idea how to configure keystone js to be multi tenant using Physical Separation of Data model or is there any other solution ?

There were some answers from this tread but not clear to me Implementing multitenancy in KeystoneJS.

Any help would be really much appreaciated . Thank you.

来源:https://stackoverflow.com/questions/59082833/keystone-js-node-js-multi-tenant-saas-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!