Do you love writing similar web service client code over and over again for all the endpoints you access? Yeah me either. But if your web service is standardized, why can’t you have an effectively “zero configuration” data layer?
I’ve started to work on an experiment building such a data layer in Vuex for interacting with JSON API web services. Let’s take a look at how to build it and see the benefits it provides us. Whatever framework or data layer you use, you’ll walk away with a sense of how conventions can reduce duplication in your data layer and increase your productivity.