Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
following tables: Current snapshot of database As we can see, we have two products and the other two tables (orders & items) are empty as we have not places any order just yet. If we are placing an order by sending a request to an endpoint like POST /api/place-order this endpoint would send 2 write