#headless

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
lastlink's picture

Angular Separate Domain Drupal simple web app

I have been working on a simple web app trying to decouple a cms to use a different front end on different domain.

The goal of the app was to be a gameroom lobby that would display gameservers, how many players they had, a link to them. These would then be editable by the gameserver itself w/ players having to login to see the lobby.

I was able to setup a drupal enabled the api, test the calls through postman and vscode rest client. I got login, logout, create, and update content to work from these clients.

Read more
Robert Ngo's picture

Drupal 8 headless with BackboneJS, retrieve single entity with referenced field

Hello friends,

I'm building up a contact directory search with Drupal 8 and Backbone. The idea is to benefit Drupal 8 to set up and expose search data via Views with Json format.

And I have 2 questions regarding setting up REST endpoint

  1. When retrieving a single node from Backbone, I'd call /node/[nid]?_format=json and get

    {
    "nid": [{
    "value": "55"
    }],
    "uuid": [{
    "value": "ec524ba2-5514-4179-a916-2213d40a0641"
    }],
    "vid": [{
    "value": "55"
    }],
    "field_acc_type": [{
Read more
Subscribe with RSS Syndicate content