Skip to content

this web application is created to show you how you can get posts from wordpress and show it into your reactJs application

Notifications You must be signed in to change notification settings

abdolmajed3/wp-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP React (React Post Viewer for WordPress)

WP React Post is a Simple React application that allows you to view and display WordPress posts. It uses the WordPress REST API to fetch post data and renders it in a user-friendly format.

Installation

  1. Clone the repository: git clone https://github.com/abdolmajed3/wp-react.git
  2. Navigate to the project directory: cd wp-react
  3. Install the dependencies: npm install

Usage

  1. Start the development server: npm run dev
  2. Open your browser and navigate to http://localhost:5173
  3. You can navigate to posts and categories

Features

  • Fetches post data from the WordPress REST API.
  • Displays the post title, content, and other relevant information.
  • Handles loading state while fetching data.
  • Handles errors during data fetching.

Technologies Used

  • React
  • React Router
  • Fetch API

Contributing

Contributions are welcome! If you have any suggestions or improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

this web application is created to show you how you can get posts from wordpress and show it into your reactJs application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published