This repository is a WordPress data source provider for Applicaster Zapp Platform.
It includes a step by step tutorial that will guide you how to create a new data source provider for Zapp.
- Clone this repo;
- Navigate to the project folder;
- Run
npm install
;
We're using https://github.com/avajs/ava as our test runner.
Tests should be placed in the test
folder which is following project folder structure.
Provider is an npm package which is part of our applicaster private npm account
- Change version number inside
package.json
- Build bundle:
npm run build
; - Publish bundle to npm
npm publish
.
- Install zappifest if you don't have it yet. [https://github.com/applicaster/zappifest](Instllation instructions)
- Update npm package version number inside
plugin-manifest.json
file.dependency_version: x.x.xx
- run
zappifest publish --plugin-id 781 --manifest plugin-manifest.json --access-token yourAccessToken
In order to test provider locally in the browser, please go to this repo and read README file https://github.com/applicaster/zapp-pipes-provider-starter-kit