drupalninja / drupalx-decoupled
Enterprise template for decoupled Drupal projects.
Installs: 60
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 4
Forks: 2
Open Issues: 0
Language:TypeScript
Type:project
Requires
- composer/installers: ^2.1
- cweagans/composer-patches: ^1.7
- drupal/decoupled_preview_iframe: ^1.0
- drupal/graphql_compose_fragments: 1.0.x-dev
- drupal/graphql_compose_preview: ^1.0
- drupal/simple_oauth: ^5.2
- drupalninja/drupalx-core: ^1.0
- drupalninja/drupalx-paragraphs: ^1.0
- drupalninja/drupalx_ai: 1.x-dev
- drush/drush: ^11 || ^12 || ^13
- oomphinc/composer-installers-extender: ^2.0
- vlucas/phpdotenv: ^5.1
- webflo/drupal-finder: ^1.2
Requires (Dev)
- drupal/core-dev: ^10.2.0
- ergebnis/composer-normalize: ^2.42
Conflicts
This package is auto-updated.
Last update: 2024-11-17 23:18:42 UTC
README
This project template leverages the DrupalX Decoupled distribution, featuring enhanced editorial capabilities, integrated GraphQL support and a Next.js frontend starter.
What does the template do?
- Extends the drupal-composer/drupal-project template (visit the README for basic instructions).
- Adds additional contributed modules to the project via Composer.
- Sets up DDEV as the default development environment.rapid style customization.
- Installs the DrupalX recipe which adds all of the configuration and demo content for this starter.
Installing
Create your project:
composer create-project drupalninja/drupalx-decoupled:10.x-dev drupalx-decoupled-starter --no-interaction
Make sure that the files directory is writable.
chmod -R 755 web/sites/default/files/
Configure DDEV (follow prompts).
ddev config
Start DDEV, download Composer dependencies and install DrupalX CMS.
ddev install
Open another console tab to set up and run the Next.js frontend:
cd nextjs
nvm install
npm install
npm run dev
This will navigate to the Next.js directory, install the required Node.js version using nvm, install the necessary npm packages, and start the development server for the Next.js frontend.
You can now open the drush login link to log into Drupal with preview that should be fully functional.