In part 1, we set up the nestjs framework and configured and tested microservices architecture application using nest.js. In part 2, we used Sequel...
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
Are you going to continue to part 4?
Yes will be post next days
Would be interesting to see ABAC or PBAC implementation as opposed to just RBAC. Great tutorial.
Thank you for the tutorial. I'm really waiting for part 4.
dev.to/ismaeil_shajar/create-a-mul...
it's great but what if I have used schema based separation and I have used public schema to store and manage information about all tenants and if I have some apis for public schema then it merges connections and gives wrong result to user and also if there are some paths or APIs on which we dont need sequelize connection then also it creates connection for that API,for eg; if we have public folder and we want to access a file from that folder at that time also it creates new sequelize connection
I already create nestjs application Multi Tenancy with 1 connection database and multi schema
github.com/alfianriv/nestjs-multi-...
That nice you use poostgres right ?
yes, i'm using postgres with multi schema
Is it going to create a new connection for each request and destroy it after the request?
yes because the injection scope is set to SINGLETON you can read more about in docs.nestjs.com/fundamentals/injec...
you are right I fix this and update post
@ismaeil_shajar I really liked and enjoy the series. Any hints on when you're going to post the next article?
Thanks for the nice content!
Just a side question, how did you manage to auotmate sub domain creation when every tenant onboards?