I am trying to create a multi tenant node.js application (with also sub domains) where each user has their own database under a single host, (say an rds instance).
So it will be easier for me to handover the database to that particular user to access that particular database.
So my problem here is when an user request the api, is it possible to dynamically change the database name based on the request.
One thing that popped up in my …