Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.29 KB

File metadata and controls

32 lines (22 loc) · 1.29 KB

WordPress React Frontend

Installation Guide

Prerequisites

Ensure you have Git installed on your system or use your preferred method to clone the repository.

Steps to Clone and Install

  1. Clone the repository:

    git clone https://github.com/zuperzonic1/wordpress-react-frontend
  2. Navigate into the project directory:

    cd wordpress-react-frontend
  3. Install the project dependencies:

    npm install

Project Overview

This project uses WordPress as the backend, which provides data through a RESTful API. The React frontend receives this data using Axios. The HTML code is converted to JSX using the Interweave library, and routing within the project is managed using React Router DOM. Additionally, the project has Tailwind CSS configured for styling.

Backend Setup

This repository contains only the frontend part of the project. To set up the backend, follow the tutorial on setting up Headless WordPress with CORS configuration: Headless WordPress CMS Tutorial by Cloudways