Michael Schmid
CTO Amazee
Let's build 12 Websites with the same Backend
React
Apollo
Redux
Drupal
GraphQL
Hint: SWAPI REST vs SWAPI GraphQL
query {
route(path: "/node/1") {
entity {
entityLabel
entityType
entityId
}
}
}
{
"data": {
"route": {
"entity": {
"entityLabel": "Hello!",
"entityType": "node",
"entityId": 1
}
}
}
}
React: Frontend Library
Apollo: GraphQL Client
Redux: Predictable state container
SEO! Accessibility!
Hint: prod site isomorphic
Performance!
Hint: prod site map & footer
https://github.com/fubhy/drupal-decoupled-app
Hint: local decoupled app