https://medium.com/canariasjs/vue-api-calls-in-a-smart-way-8d521812c322

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 alm...