This is a basic starter project for an Ionic React App utilising the WordPress REST API as a backend.
Built as a training demo as covered in the following post: How to Build a WordPress Powered React App with Ionic
Ensure you have the latest Ionic CLI installed:
npm install -g @ionic/cli
Then, run these commands to clone and install your app:
git clone https://github.com/primitive/astral-wordpress.git
cd astral-wordpress && npm install
To run your app in development mode, use:
ionic serve
Use VS Code? Develop faster with the VS Code extension
Resources to help get you started with the Ionic platform:
Ionic Framework Open source cross-platform mobile UI toolkit.Quickstart docs
Capacitor for Web Native apps on iOS and Android.Quickstart docs
-[ ] Fix: Readmore URL via wp plugin -[ ] Add step 4 guide (splash screen + icons) -[ ] Add step 5 guide (deployment)
-[ ] How best to get the data from the WP API into the app? Axios or https://www.npmjs.com/package/@wordpress/api-fetch -[ ] REST or GraphQL?
☙ ❦ 🐒 - 🐒 - 🐒 ❦ ❧
._ _ _. _| _ |_ ._ _ _ ._ | o _ _ | | |(_|(_|(/_ |_)\/ | | |(_)| ||<|(/__> /