Simple wordpress theme used as backend for the React.js SPA wordpress-reactSassWebpack connected via the Wordpress REST API
Project requires Node.js v6+ to run.
https://wordpress.org/download/
Install and activate plugins:
- ACF
- ACF to REST API
- WP Rest API
Create a empty database and import tables from SQL file from "database" folder, update wp-config.php file to connect to database.
Clone/download the theme to you're local repository and place theme it in wordpress/wp-content/themes folder.
Install the dependencies + devDependencies in theme folder and start server:
$ cd yourLocalRepositoryRoot
$ yarn install
$ yarn start
or
$ npm install
$ npm run start