/wordpress-REST-API-react

Sample for how to build React apps on top of the WordPress REST API

Primary LanguageJavaScript

wordpress-api-react

Sample for how to build React apps on top of the WordPress REST API

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

Reference link

https://medium.freecodecamp.org/how-to-build-react-apps-on-top-of-the-wordpress-rest-api-bcc632808025

Wordpress-REST-API reference link:

https://developer.wordpress.org/rest-api/.

Go to reference for how to check the "Resource" using the "Base Route". ## For Eg: To get "posts" resource values, we use as following: : https://example.com/wp-json/wp/v2/posts