This application is based on the React Redux Hot Loader Bootstrap project.
In order to get this application set up, it needs to have a WordPress host set as an API backend. to do this, you need to do a few things.
First, ensure the following plugins are loaded.
You also need to follow the instructions to install the wp-cli on your wordpress host. This is needed in order to add an OAuth client key, which will be needed in order to connect.
Follow those instructions here.
Once this has been done, you need to generate your oauth tokens by running the wp oauth1 add
command as detailed here: https://github.com/WP-API/client-cli#step-1-creating-a-consumer
Make sure you save the client key AND secret, as you'll need them later.
npm install
This will configure either your local environment or the server it is on with how to connect to the base WordPress backend.
npm run setup
you will then be asked to provide the OAuth Client Key, OAuth Client Secret, and the url to the WordPress API.
npm run dev