DEPRECATED - See https://github.com/Gizra/drupal-starter
Drupal Elm Starter
Drupal Elm Starter is a starter kit for setting up sites using Drupal as a backend and Elm in the frontend.
For the backend, check the server README.md
For the frontend, check the client README.md
When the item will be updated (E.g. via the backend on /node/1/edit), it will fire Pusher messages that will update the Elm application in real time.
Editing an item produces pusher messages on two different channels:
private-general. The private channel is only accessible by users with
access private fields permission, and currently exposes the item's "Private
note" field, which normal users can't access.
Log in to the Elm app for example with
admin to see also the item
private note field (on /#/item/1 for
example), and get notifications through the private channel.
Log in with a normal user (For exmaple
alice), to get notifications
through the public pusher channel.