This is the official JavaScript / TypeScript SDK for interacting with Jexia projects.
npm install jexia-sdk-js --save
or
yarn add jexia-sdk-js
const jexiaSDK = require("jexia-sdk-js/node"); // use require("jexia-sdk-js/browser") for browser
const dataModule = jexiaSDK.dataOperations();
const credentials = {
projectID: "<your-project-id>",
zone: "<your-project-zone>",
key: "<your-project-api-key>",
secret: "<your-project-api-secret>",
};
jexiaSDK.jexiaClient().init(credentials, dataModule);
dataModule
.dataset("posts")
.select()
.subscribe(
records => console.log("All the records:", records),
error => console.error("Something wrong happened:", error)
);
Check out documentation on the official Jexia website.
You can find all the steps at the Contributing Guide.