Code Monkey home page Code Monkey logo

drupal-decoupled-workshop's Introduction

Decoupled Drupal Workshop

๐Ÿ‘‹ Welcome to the Bluehorn Digital Decoupled Drupal workshop repository!

This repository contains a decoupled ready Drupal build with example frontend applications and HTTP requests. There is a workshop_demo module which turns the Umami demo profile into a headless content repository.

What is here?

http folder

These are HTTP files that can be executed within your IDE or editor!

react-demo folder

A very basic Create React App that uses dynamic routing โ€“ the only two hardcoded requests are for the main menu and decoupled router.

web fodler

Drupal!

Running the workshop

This was first built with users who primarily use Lando. So for now, Lando the is the preferred way to run the Drupal site.

lando start
bash scripts/setup-workshop.sh

Notes

Required patches

Unfortunately, things don't always work well out of the box. This project contains several patches that you might want to be aware of, when building your own decoupled Drupal project. Always review composer.patches.json to see the latest patches.

Decoupled Router

Cannot generate the entity canonical url by passing the entity UUID

Consumer Image Styles

Make JSON:API Extras an optional dependency JsonApiResource Link $rel is now a string, not an array; getLinkRelationTypes() is now getLinkRelationType()

Note: I have a preference to not use JSON:API Extras and instead try to find ways to improve core for customization.

Simple OAuth

Client secret is now required for non-confidential apps

drupal-decoupled-workshop's People

Contributors

mglaman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

shaal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.