keystonejs / keystone-classic

Node.js CMS and web app framework
http://v4.keystonejs.com
MIT License
14.65k stars 2.21k forks source link

Keystone JS/Node js - multi-tenant SaaS application #4977

Open jelordreygulle opened 4 years ago

jelordreygulle commented 4 years ago

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.

hermesalvesbr commented 1 year ago

I'm also looking for this, did you get ahead?

snimavat commented 5 months ago

Any updates ! looking for same

slopesweb commented 3 months ago

Any updates !