Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
Let’s start by defining what is a controller and a service. Controllers should only be responsible for handling HTTP requests and responses. However, services are meant to contain the actual business logic. So we keep the business logic away from the controllers. With that explained, we can now