Nest JS — Managing multiple connection solved— Master, Slave easily | Working solution | 2022 solution
In NEST JS You can setup read/write replication using TypeORM.

Now when u perform any write operation using repository it will use master config and read will use random slave config
Example —

For more information You can refer to this documentation — https://orkhan.gitbook.io/typeorm/docs/multiple-connections
Thanks for reading my post , if you like please follow and clap!