Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 1.45 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.45 KB

DEPRECATED - See https://github.com/Gizra/drupal-starter

Drupal Elm Starter

Build Status

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

Pusher

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: general and 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 / 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 / alice), to get notifications through the public pusher channel.

Credits

Gizra

License

MIT