Skip to content

markdhel/wp-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress REST API + React JS

This boilerplate will help you use React JS with Wordpress REST API. Clone the project and install node packages:

npm i

To run the project on localhost:8080:

webpack-dev-server

You need to have webpack and webpack-dev-server installed globally:

npm install -g webpack
npm install -g webpack-dev-server

Don't forget to update the Worpress installation url in DataActions.js. It's located in src/actions/DataActions.js line 7

class DataActions {
	constructor() {
		const appUrl = 'http://andreypokrovskiy.com/projects/wp-api'; // Wordpress installation url
	}

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • HTML 3.2%