Skip to content

systemseed/drupal_reactjs_boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI ReadTheDocs

What is this project for?

The main purpose of the project is to provide a super-quick start for fully decoupled applications development based on Drupal 8 and React.

Our main goal was to create the boilerplate with minimal amount of opinionated set of features, but at the same time give developers a solid base for start to let them focus on the development and do not worry about infrastructure / integrations set up.

What does this project include?

We've got many little developers tricks and sugar added, but from the very high level the project includes:

  • One-command installation experience for the whole development / testing infrastructure
  • Docker configuration to avoid any necessity in third-party tools installed on your local machine
  • Configured Drupal 8 application based on Contenta CMS for comprehensive decoupled development
  • Configured React.js application based on Next.js for Server Side Rendering support and great dev experience
  • 3 types of tests included (Unit / Integration, API, Acceptance) with examples, Drupal API integration & database connection
  • Platform.sh ready configuration for those who want to run the project in web
  • Simple commands for automated code quality checks / fixes
  • Continuous Integration example for CircleCI to test project installation, code quality & run tests.

Installation

  1. To get everything installed locally, simply use the following commands:

    cd drupal_reactjs_boilerplate
    make install
    
  2. That's it, the Decoupled application is ready for development!

Access the applications

Demo content

This boilerplate comes as an example of integration between frontend and backend applications, therefore all demo content is enabled by default. However, if you want to get rid of it and focus on development - all you need to do is to delete the module with demo content by calling make drush pmu recipes_magazin.

Explore the documentation