This is a simple demo for building your site with Next.js and Drupal. It demonstrates how to integrate a Next.js app with a Drupal backend to create a fast and flexible website.
To use this demo, follow these steps:
- Clone the repository to your local machine.
- Copy the .env file to .env.local and update the environment variables to match your Drupal backend.
- Install the dependencies by running yarn install.
- Start the development server by running yarn dev.
- Open your browser and navigate to http://localhost:3000 to view the demo.
You can also use yarn preview to start the development server with preview mode enabled.
GitHub Copilot: Thank you for the correction. Here's an updated version of the README file:
This is a simple demo for building your site with Next.js and Drupal. It demonstrates how to integrate a Next.js app with a Drupal backend to create a fast and flexible website.
To use this demo, follow these steps:
- Clone the repository to your local machine.
- Copy the
.env
file to.env.local
. - Install the dependencies by running
yarn install
. - Start the development server by running
yarn dev
. - Open your browser and navigate to
http://localhost:3000
to view the demo.
You can also use yarn preview
to start the development server with preview mode enabled.
By coping the provided .env file the Next.js app will connect to an existing demo Drupal backend.
If you want to use your own, update the environment variables to match your Drupal backend
This demo uses the following technologies:
This demo is licensed under the MIT License. See the LICENSE file for details.