An open API service indexing awesome lists of open source software.

https://github.com/trustedshops-public/connect-app-connector

part of connector layer for NewGen shop plugins
https://github.com/trustedshops-public/connect-app-connector

connector-layer tpconnect tsconnect

Last synced: 3 months ago
JSON representation

part of connector layer for NewGen shop plugins

Awesome Lists containing this project

README

        

## Connect App Connector

[![GitHub License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/trustedshops-public/connect-app-connector/blob/main/LICENSE)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=trustedshops-public_connect-app-connector&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=trustedshops-public_connect-app-connector)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=trustedshops-public_connect-app-connector&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=trustedshops-public_connect-app-connector)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=trustedshops-public_connect-app-connector&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=trustedshops-public_connect-app-connector)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/trustedshops-public/connect-app-connector/tree/main.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/trustedshops-public/connect-app-connector/tree/main)

## Public Documentation

This Connector is part of Trusted Shop´s SDK for building plugins based on our new plattform and architecture. You can
find our detailed documentation publicly
available [here](https://developers.etrusted.com/solutions/newgen-sdk/introduction.html). Please follow these
instructions to build your own plugin to connect eTrusted products with a shopsoftwaresystem.

## Getting Started

First, run the development server:

```bash
yarn install
#then
yarn run dev

```

### `yarn run dev:test`

Running the application locally with a test environment, using the mock baseLayerTest.js from the src/baseLayers folder.

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

### `yarn run build`

Builds the app for production to the `build` folder.

The production build contains a `fonts` folder and files `connector.es.js` , `connector.umd.js` and `style.css`.

## Connecting

Connecting the eTrusted connector is done by adding a `script` tag with a link to `connector.umd.js` and a `link` tag
with a link to `style.css` to the `index.html`.
To display the connector, you need to add a `div` tag with `id="eTrusted-connector"`

```html

...


...

```