This is a starter project for a Next.js app that connects to a Drupal using GraphQL. Is a port of the features from our Remix Drupal demo project.
- GraphQL API integration
- Previews
- View revisions
- Support taxonomy terms
- Meta tags for SEO
npx create-next-app@latest --example "https://github.com/octahedroid/drupal-decoupled/tree/main/examples/next-graphql"
cp .env.example .env
Update values read copied file for instructions
Run the dev server:
yarn dev
Run the gql:sync script
yarn gql:sync
📖 See the Next.js docs for details on supported features.