drupal-js
Best practices to integrate a Drupal 8.x+ backend with a JavaScript framework frontend
https://github.com/eworx-org/drupal-js
Last synced: 4 days ago
JSON representation
Drupal
About Drupal decoupled solutions
- Drupal core ideas: Drupal JavaScript Client Initiative
- https://www.drupal.org/docs/develop/decoupled-drupal
- https://dri.es/headless-cms-rest-vs-jsonapi-vs-graphql
- https://dri.es/how-to-decouple-drupal-in-2019
- https://dri.es/drupal-looking-to-adopt-react
- https://dri.es/advancing-drupal-web-services
- https://www.drupal.org/industries/decoupled
- https://www.lullabot.com/articles/should-you-decouple
- https://www.softescu.com/en/blog/fully-decoupled-or-progressively-decoupled
- https://medium.com/analytics-vidhya/decoupled-drupal-as-a-solution-bd0ec25f39cf
- https://opensenselabs.com/blog/articles/different-options-decoupling-drupal
- https://www.lullabot.com/articles/decoupled-hard-problems-routing
- https://noti.st/brianperry/2Fvgeu/drupal-state-and-the-need-for-a-javascript-sdk
Drupal Distributions
- https://www.contentacms.org
- https://www.drupal.org/project/tide
- https://github.com/systemseed/falcon
- https://github.com/codingsasi/acephalous
- https://www.drupal.org/project/ezcontent - (using REST, not a decoupled example)
Drupal modules
- jsonapi_hypermedia
- jsonapi_bulk_exclude
- jsonapi_example
- transform_api
- jsonapi_field_formatter
- jsonapi_search_api
- decoupled_preview
- filefield_sources_jsonapi
- jsonapi_flysystem_uploader
- next_webform
- decoupled_interface_translations
- graphql_compose
- services
- gdwc
- api_toolkit
- decoupled
- jsonapi_pathauto_breadcrumbs
- api_client
- contextual_aliases
- nplowman/jsonapi-reusable-images
- simonbaese/consumer_permissions
- graphql_directives
- subrequests
- jsonapi_query_builder
- jsonapi_menu_items
- restfullogger
- pdb
- restuiextention
- decoupled_toolbox
- webform_rest
- graphql
- relaxed
- jdrupal
- js_component
- jsonapi_frontend
- jsonapi_explorer
- webform_jsonschema
- rjsf
- http_client_log
- request_logger
- rest_log
- graphql_entity_by_object
- graphql_entity_definitions
- graphql_extras
- graphql_formatters
- graphql_menu
- graphql_metatag
- graphql_node_preview
- graphql_redirect
- graphql_redirect_entity
- graphql_search_api
- graphql_views
- graphql_webform
- preview_graphql
- entity_webhook
Drupal slack channels
- #decoupled
- #headless
- #graphql
- #contenta
- #react
- #nextjs
- #gatsby
- #druxt (NuxtJS)
- #vue
- #custom-elements
- #api-client
Drupal starter-kits with JS frameworks
- https://next-drupal.org - (Next)
- https://druxtjs.org - (Nuxt)
- https://github.com/pantheon-systems/decoupled-kit-js - (SDKs, starters, npm packages for Drupal)
- https://stack.lupus.digital - (Nuxt)
- https://github.com/acquia/next-acms - (Next)
- https://github.com/octahedroid/drupal-remix - (Remix)
- https://github.com/rbeach/drupal-remix - (Remix example)
npm packages for Drupal
Final tips
- create-react-app - )
Framework: NextJS
Articles for NextJS
Drupal + NextJS
- About Drupal, Gatsby and Next
- Next.js and Headless CMS - GitHub issue
- TallerWebSolutions/next-on-drupal
Learn NextJS
NextJS popular tools
- https://next-auth.js.org - (Authentication for Next.js)
- https://github.com/atilafassina/next-g11n - (Translate and localize your Next.js app smoothly)
Framework: Nuxt.js
Druxt Quick-start templates
Framework: React
Articles for React
Drupal + React
- https://reactfordrupal.com
- https://github.com/systemseed/drupal_reactjs_boilerplate
- https://github.com/DrupalizeMe/react-and-drupal-examples
Learn React
JS
Compare JS frameworks
- https://2021.stateofjs.com/en-US/libraries/front-end-frameworks
- https://www.jetbrains.com/lp/devecosystem-2021/javascript
- https://trends.google.com/trends/explore?cat=733&date=today%205-y&q=React,Vue,Angular,Next
- https://insights.stackoverflow.com/trends?tags=reactjs%2Cvue.js%2Csvelte%2Cvuejs3%2Cangular
- https://www.npmtrends.com/next-vs-react-vs-svelte-vs-vue
- https://www.githubcompare.com/vercel/next.js+facebook/react+angular/angular.js+vuejs/vue
- https://www.hntrends.com/2020/dec-year-unlike-any-other-tech-tools-didnt-change-much.html?compare=AngularJS&compare=Ember&compare=React&compare=Vue
- https://frontpagemetrics.com/r/reactjs#compare=vuejs+angular2+sveltejs+nextjs
- https://trends.builtwith.com/javascript/javascript-library
- https://www.wappalyzer.com/technologies/javascript-libraries/react/
- https://www.datanyze.com/market-share/frameworks-and-libraries--66/react-market-share
- https://www.similartech.com/technologies/react-js
- https://npmgraph.js.org
- https://bundlephobia.com
- https://packagephobia.com
- https://krausest.github.io/js-framework-benchmark
- https://kangax.github.io/compat-table/es6
- https://caniuse.com
JS app structure
JS terminology
Learn JS frameworks basics
Popular JS frontend frameworks
Styling a JS app
- tailwindcss - and Windi CSS.
Tools for JS development
-
nvm
- , npm (no need to use
yarnovernpmin 2022) - JSON - , JSON API
- qs - , html-react-parser
- danger
- jsdoc
- npm-check - , snyk, npm-check-updates
- husky
- next-boost - , react-lazy-load-image-component, node-cache, webpack-bundle-analyzer
- lingui - , polyglot
- Hygen - , nx, ReexJs CLI, generact
- VSCode
- Storybook
- sinon - , faker, JSON Server fake API
- Typescript
- Babel
- PostCSS
- Webpack - , esbuild
- EditorConfig - , ESLint, Prettier, JSLint
- Jest - , Cypress, testing-library, nightwatchjs, playwright
- React Router - , TanStack Router
- pino
- redux - , zustand, recoil, jotai