This repository shows integration of React with WordPress
- Clone this repo in your system.
- Change directory
cd/react-wordpress. - Run
npm install. - Move
react-wordpress-themeto your WordPress setup/wp-content/themes/and Activate the theme. - Change WP_URL to your WordPress url to src/WPConfig.js.
- Run
npm startat your repo location (react-wordpress). - Voila!
- REST endpoints created using WordPress REST API.
- APIs are used in React JS framework to handle data.
- /auth/login
- /auth/register
- /auth/getAllUsers
- /user/getDetails
- /user/deleteUser
- /user/updateDetails
- /user/forgotPassword
- /user/changePassword
- /user/confirmOTP
- /user/resetPassword
- WP Mail SMTP