https://github.com/mariana-tek/mariana-anemone
Mariana Tek Embedded Apps SDK
https://github.com/mariana-tek/mariana-anemone
fitness integrations marianatek sdk
Last synced: 6 months ago
JSON representation
Mariana Tek Embedded Apps SDK
- Host: GitHub
- URL: https://github.com/mariana-tek/mariana-anemone
- Owner: Mariana-Tek
- License: mit
- Created: 2020-10-09T20:51:26.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-21T14:24:06.000Z (about 5 years ago)
- Last Synced: 2024-11-07T16:50:54.115Z (12 months ago)
- Topics: fitness, integrations, marianatek, sdk
- Language: JavaScript
- Homepage:
- Size: 165 KB
- Stars: 10
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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 .
1. Go to the root of the example app and install dependencies:
```
cd example
npm install
```
2. Update the value of `config` in example/src/utils.js with the correct values for your app:
```js
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
};
```
3. Spin up the application:
```
npm start
```