zacck-zz / absinthe_node_subscriptions

Minimal Subscriptions Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Absithe Node Subscriptions Minimal Example

This is a small project to show how to subscribe to Absinthe powered GraphQL Subscriptions from NodeJS

Instructions

  1. Clone the code to a directory on your computer using the following command git clone git@github.com:zacck/absinthe_node_subscriptions.git
  2. Install dependencies as follows cd absinthe_node_subscriptions && npm install
  3. Compile and start the development server using the following command npm run build
  4. Run the compile build asset using npm run start
  5. You should see a subscription confirmation message and whenever a subscription is resolved it will log on your console

About

Minimal Subscriptions Example


Languages

Language:JavaScript 100.0%