Create a proof of concept to demonstrate two different ways of migrating Vuex + REST API app to GraphQL
Reason
Currently, we don't have a defined way of migrating Vuex app with existing REST/Rails API calls to use GraphQL endpoint. It would be nice to discuss different migration paths on RFC but to do so we need to build a small example app
Details
I will create a standalone repo with a Vue application using REST API. Then, I will make two different migrations on different branches:
- one will add GraphQL simple calls directly to Vuex actions similarly to how we use axios calls now;
- the second will wrap REST API with Apollo client local query resolver to store results to Apollo client