Scalability usually comes into mind when we wanted to maintain a product long-term. As the product grows, there might be more features that we will add to the product, and more people might join the team. That is when modular architecture and dependency injection comes in, in which the purpose…