Sequelize Transactions in Node.js/Express REST API
I have implemented a particular REST API with Spring-boot, and I am implementing same API endpoints in Node.js/Express/Sequelize. The concept of Transaction in Sequelize is pretty old-fashioned although it gives the desired granular control over transactions so control can be established.
I assume that you are familiar with backend development in Express. This is an ecommerce backend and I will be implementing Create Order endpoint. A customer creates an…