Git Product home page Git Product logo

wp-react-blog's Introduction

React JS + WP Rest API

The startup kit to use React JS with Wordpress REST API.

It will provide dynamic menu,any new page created in wordpress will be added in site header.

Features

  • Login
  • Signup
  • Dynamic Menu
  • BlogListing and Single Blog

Development setup

Clone the project and install node packages:

npm i

Install webpack and webpack-dev-server globally:

npm install -g webpack
npm install -g webpack-dev-server

Run the project with

webpack-dev-server

This will start app on localhost:8080:

Don't forget to Change the URL in Globals.js file with your own wordpress URL. for example,if domain is mywp.dev

this.WP_URL  = 'http://mywp.dev/';
this.WP_API_URL = 'http://mywp.dev/wp-json/';
		

Contributing

  1. Fork it (https://github.com/KhushbuThakkar/wp-react-blog.git)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

wp-react-blog's People

Contributors

khushbuthakkar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

elpuas

wp-react-blog's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.