Is there any way without changing the code of existing nodejs app, we can add multi tenancy to a nodejs/express app already built
Benefits
running multiple instances of nodejs consumes more memory and cpu, multi tenancy will load only sequelize multiple times, express and other modules load once
automation of migrations will greatly reduces installation costs and people can signup and start using
NOTE: In other words, if we make a provisioning tool, then it will help developers to focus on domain, Automatic Provisioning tool will automate tenant signup process
mailtrain version 1 focussed on building email campaign manager
v2(https://github.com/Mailtrain-org/mailtrain/tree/development) focussed on making multi tenancy,
Is there any way without changing the code of existing nodejs app, we can add multi tenancy to a nodejs/express app already built
Benefits
Current Challenges while setup
With above 3 steps we can automate setup process,
Expectation is run migration of another existing nodejs application so we can add a add a field
sequelizerc
in client(tenant
) tableabove field will be updated with https://github.com/AnishLushte07/multi-tenant-application/blob/2ce643aeb78b182050e09bc0b57cb43dcc772863/sequelizerc-tenant2.json#L1-L5 https://github.com/AnishLushte07/multi-tenant-application/blob/master/server/api/client/client.property.js#L11
NOTE: In other words, if we make a provisioning tool, then it will help developers to focus on domain, Automatic Provisioning tool will automate tenant signup process