Skip to content

A simple way to get started with react, meteor and the wordpress api

License

Notifications You must be signed in to change notification settings

acomito/react-material-ui-wordpress

Repository files navigation

React-Material-UI-Wordpress

A simple way to get started with React, Meteor, Material-UI and the WordPress api (Fork of TheMeteorChef's Base)

Version

Base Material-UI Version v0.0.0.1
Base Version v4.5.0
Meteor Version v1.3.5.1

What You're Working With

Getting Started

See Meteor Chef's Base

As the projects are essentially the same, see https://themeteorchef.com/base/getting-started/

Clone Repo

git clone https://github.com/acomito/react-material-ui-wordpress.git <directory>

Setup the call to WP API

  • Make sure you have the wordpress api plugin installed on your wordpress website. this youtube video may be helpful
  • go into base-material-ui-wordpress into imports/startup/server/rest2ddp.js (here). Then add your endpoint/url for your blog posts, etc. (see rest2dpp docs for more info)

Run NPM Install

  • run meteor npm install
  • after runnning meteor npm install, sometimes I find it is good to also run regular npm install just in case

Run Start Script

run meteor npm start to fire up the app

Got to LocalHost:3000 and you should be good

  • If you've setup the API on your WordPress site and added the relevant url to the posts call in your meteor app, then you should be pulling in a basic list of blog posts from your WP site.

Other Stuff

About

A simple way to get started with react, meteor and the wordpress api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published