/reactjs_drupal

A simple progressively decoupled React front-end app

Primary LanguageHTMLMIT LicenseMIT

REACTJS-DRUPAL

ReactJS-Drupal is a simple application which attempts to demonstrate headless drupal feature in Drupal 9.


Using the repo

Installation

git clone reactjs_drupal
cd reactjs_drupal
npm i --leagacy-peer-deps
npm start

Instructions

  • Make sure you have Drupal 9 running as backend
  • Make sure you copy URL in config.js
  • Add token inside token file by visiting your site
  • /YOUR_LOCAL_DRUPAL_URL/session/token
  • You must enable CORS
  • And you may have to allow permission for Drupal article contents-type

Use for reference

Use solely for reference material only