nailaphilip / reactjs_drupal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:HTML 65.9%Language:JavaScript 27.9%Language:CSS 6.2%