/wp-react

Starter Dashboard Theme for Wordpress Development with React and REST API

Primary LanguageJavaScript

New version here!

ReactJS with Wordpress Client Authentication using JWT

Must have JWT Authentication plugin installed into your wordpress website. Follow the installation guide here. Port 3000 must be open and make sure to replace the ROOT_URL found inside the index file under actions directory.

This project is to serve as a guide for users that is looking for an idea on how to use Wordpress REST API with React as a frontend. Improvements are welcome. You may create a pull request or just contact me at my personal website.

I also created an OAuth 2.0 demo as well found here -https://github.com/loq24/oauth-demo.

Online Demo

Installation

Clone repo:

git clone https://github.com/loq24/wp-react.git
cd wp-react
npm install
npm start
Access http://localhost:3000/

Typescript Version

I converted the whole project with Typescript. Please check the Typescript version here

License

MIT