Giter VIP home page Giter VIP logo

ionic-starter-wordpress's Introduction

Create a Mobile Application using WordPress + WP-API + Ionic Framework

This is a starter template for the Ionic Framework.

You can create Mobile Application using WordPress + WP-API v2, Ionic Framework, AngularJS.

Demo

Screenshots

Desktop browser testing

Simulator testing

Features

  • Infinite scroll
  • Pull to refresh
  • Static front page
  • Posts
  • Gallery

How to use this template

1. Install Ionic

$ npm install -g ionic cordova
$ npm install ios-sim -g

2. Install WordPress REST API (Version 2)

Please install WordPress REST API (Version 2) into your WordPress site.

3. Start a project

$ ionic start myApp https://github.com/miya0001/ionic-starter-wordpress
$ cd myApp
$ ionic platform add ios
$ ionic platform add android

Open your myApp/www/js/app.js and change here to your own URL like following.

.constant( 'config', {
  api: 'http://example.com/wp-json/wp/v2' // API URL of your WordPress
} )

If you want to try quickly, you can skip here.

4. Run it

Run your app on iOS simulator.

$ ionic emulate ios

Or run on your browser.

$ ionic serve

Substitute ios for android if not on a Mac, but if you can, the ios development toolchain is a lot easier to work with until you need to do anything custom to Android.

See more information.

ionic-starter-wordpress's People

Contributors

miya0001 avatar

Watchers

James Cloos avatar AJIBADE HAMMED ADEDAPO avatar

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.