Headless solution for a single branding website that uses Drupal as a back-end system and Next.js as a front-end.
- Installation and Configuration
- Web Accessibility
- Development and Contributing
- Deployment
- Technical Documentation
- Useful Documentation
- Node.js (v20.12.6 required)
- Install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash # or wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
- Install and use Node.js v20.12.6:
nvm install 20.12.6 nvm use 20.12.6
- Verify installation:
node -v # Should output 'v20.12.6'
git clone git@github.com:ffwagency/headless-poc-next.git
cd headless-poc-next
npm install
Create a .env.local
in the root of your project with the following:
NEXT_PUBLIC_DRUPAL_BASE_URL=drupal_base_url
NEXT_IMAGE_DOMAIN=image_domain
DRUPAL_CLIENT_ID=drupal_client_id
DRUPAL_CLIENT_SECRET=drupal_client_secret
DRUPAL_PREVIEW_SECRET=drupal_preview_secret
NEXT_PUBLIC_DEFAULT_LANGUAGE=default_language
NEXT_GENERATE_FILES=true
npm run dev
npm run build
npm start
npm test
npm run lint
Ensuring our project is accessible to all users, including those with disabilities, is a top priority. Below are specific rules and guidelines to follow to achieve web accessibility.
We are using:
- Kristiyan Velkov (JavaScript DKL)
- Email: kristiyan.velkov@ffw.com
- Nikola Bintev (Team Lead | AWS Certified Solutions Architect - Associate)
- Email: nikola.bintev@ffw.com
Deploy locally or to a staging environment for testing.
Set up to handle real user traffic efficiently.
Links with Technical Documentation for This Project: