A starter kit for Headless Drupal with Elm
Elm Shell JavaScript PHP HTML CSS Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ci-scripts
client
server
static
.gitignore
.travis.yml
README.md
gdrive-service-account.json.enc

README.md

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