Simple WP React
Simple WordPress Template using React & WP REST API
Required
- WordPress Site that activated WP REST API(Version2) Plugin:To make API Endpoint for WordPress
- Node.js:To build code & run local Server
- npm:To get React & Helper Node Modules
Getting Start
$ git clone git@github.com:hideokamoto/wp-simple-react.git
$ cd wp-simple-react
$ npm install
$ npm start
You can see http://localhost:8080/
How to Test
This code tested by Jest
1: Make test file under tests Directory
2: Write test
3: run $ jest
or $ npm test
How To Contribute
If you find some bug
Please make GitHub Issues. -> https://github.com/hideokamoto/wp-simple-react/issues
If you want to add some function
1: Fork this repository 2: Write some code to add function that you want to add.(Need Tests) 3: Make Pull Request