For a very long time, I wanted to expose different ways to make calls to our API. In this chapter, I will talk about the pattern that worked best for me, so allow me to introduce you to the RepositoryFactory. I love this approach because it scales very well, and at least for me, it has worked almost always. Let me explain why:On the one hand, we will use the repository pattern to access our resour
![Vue API calls in a smart way](https://cdn-ak-scissors.b.st-hatena.com/image/square/26cea87f3d436eb63324d5649d8961b5272d767c/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2AIDGZRKhnsPzPr7kipEFeIg.jpeg)