/hasura-vue-chat-app

A real time Chat app that uses subscriptions in Vue-apollo and Hasura GraphQL Engine

Primary LanguageVue

hasura-vue-chat-app

This is the source code for a chat app that uses subscriptions in Vue-apollo and Hasura GraphQL Engine.

Dec-21-2019 16-44-3

Hasura setup

docker-compose up -d

After starting the container, access to http://localhost:8000/console. In hasura console, create messasges table. Like the following sentence.

column type
id Integer(auto-increment)
user_id Text
icon_color Text
content Text

スクリーンショット 2019-12-21 9 18 27

Vue setup

Install dependencies.

yarn install

Run project

yarn run serve

Access the URL displayed on the console and send message.