This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The React application is dynamically connected to your installed Wordpress database through REST API with [http://localhost/wp-json/wp/v2/posts]. This means that in order to render information, React need you to have a connection running.
If you haven't installed Wordpress locally yet you can do it here [https://wordpress.org/support/article/how-to-install-wordpress/]
This connection makes it possible for any locally stored Wordpress posts to be rendered in the React frontend.
If you have locally stored Wordpress posts and want to try render them through our React application follow these steps:
- Clone the GitHub repository
- Run
npm install
to get the node modules - Run
npm start
to start the React application - Navigate to http://localhost:3000