Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

TallerWebSolutions/next-on-drupal

Repository files navigation

Next on Drupal

This project is a boilerplate aimed to facilitate scafolding of Next.js projects based on Drupal backends exposed via GraphQL.

On the documentation you find explanation on many of the concepts, solutions, and whys for most of the decisions you'll find along the way in the code.

This boilerplate is well fit to be used in company with the Drupal Enterprise Boilerplate project.

Tasks

  • Development UX

    • Docker
    • Code style
      • Eslint
      • package.json formatting
    • Git hooks automation
    • Aliases
    • VSCode config
    • Reusable Babel
    • Reusable Webpack
    • Integrated debugging
    • Single source-code dir
    • Client/server specific dev scripts
    • Storybook
    • GraphQL mocking
  • Documentation

    • Scafold Docz
    • Code annotation
    • Deploy docs
    • Document...
      • Routing
      • Layout & Blocks
      • Composition pattern
      • Project structure
      • Troubleshooting
        • Unexpected < in JSON (access? memory?)
  • Code/project quality

    • Bundle analyzer
    • Unit tests
      • Configure Jest
      • Add coverage threshold
      • Test boilerplate code
    • E2E tests
      • Setup cypress
  • Functionallity

    • Styleguide (init)
    • GraphQL Client
      • Fragment matcher
      • GraphQL build-time parsing
    • Drupal router integration
      • Server-side routing (nxcf)
      • Client-side routing (new!)
      • Dynamic imports
    • Drupal layout integration