Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic React app with wordpress as backend

This is a basic react app where user can see all post fetched from the wordpress headless CMS. Using a jwt plugin admin can log in an from dashboard add new posts.

Reactjs is used for structure and design.
Wordpress headless CMS is used for backend.
JWT plugin in wordpress dashboard is used for authentication.

Screenshots

Screenshot from 2021-03-09 19-34-03 Screenshot from 2021-03-09 19-34-18 Screenshot from 2021-03-09 19-34-33

How to use

  1. Download the code.
  2. Install dependencies using npm install.
  3. Install a local wordpress server or use an already running one.
  4. Replace the base url in 'axios.js' with your site url.
  5. Install 'JWT Authentication for WP-API' in your wordpress install and make changes in .htaccess and wp-config files as instructed.
  6. RUn with npm start.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages