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.
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.
Thank you.