1.0.0 • Published 4 years ago

@mariana-tek/anemone v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Mariana Anemone

An SDK for building Embedded Apps with Mariana Tek.

Installation

npm install @mariana-tek/anemone

Documentation

Full reference: https://marianatek.com/developers/guides/mariana-anemone

Running tests

npm test

Running the example app

Note: This example application will only function when loaded within a sandbox for the Mariana Tek Admin Application where a this test Embedded App is installed. If you have an idea for a new Embedded App and don't have a sandbox or a test Embedded App installed yet, contact partners@marianatek.com.

  1. Go to the root of the example app and install dependencies:
cd example
npm install
  1. Update the value of config in example/src/utils.js with the correct values for your app:
const config = {
    appId: "{MARIANA_APP_ID}", // the app ID configured for your app
    clientId: "{MARIANA_CLIENT_ID}", // the sandbox client ID for your app
    baseUrl: "{APP_URL}", // when running this locally, this should be http://localhost:1234
};
  1. Spin up the application:
npm start