This app is meant to be a companion to the talk I made on February 21st 2019, titled "Vue.js Real-time Apps With Hasura".
You can follow the steps in the slides to set up this demo project from scratch with Hasura, or...
-
Clone this repo
-
Set up a Hasura instance on Heroku (again, steps available in talk slides)
-
In src/vue-apollo.js, change httpEndpoint and wsEndpoint to match your Hasura instance
const httpEndpoint = 'https://appname.herokuapp.com/v1alpha1/graphql'
const wsEndpoint = 'ws://appname.herokuapp.com/v1alpha1/graphql'