This module provides a way for site managers to configure and serve single-page applications as pages in a Drupal site.

See https://capgemini.github.io/drupal/spalp/ for more information on the thinking behind this module.

This approach has been described as “Progressively Decoupled” - see https://dri.es/how-to-decouple-drupal-in-2018

The module defines an App Landing Page content type, which provides the base URL for each app.

All relevant configuration is stored on this node as a single text field containing JSON.

If a JSON Schema is provided, form fields are provided using the JSON forms library.

When viewing the node, a link to a JSON endpoint providing the configuration is added in the page head - your JavaScript application should get its config from this endpoint.

Within the module directory there is an example module showing how to implement this.

See the README for more details.

Supporting organizations: 

Project information

Releases