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
- Host: GitHub
- URL: https://github.com/trustedshops-public/connect-app-connector
- Owner: trustedshops-public
- License: mit
- Created: 2023-05-10T10:55:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-18T14:08:31.000Z (9 months ago)
- Last Synced: 2024-10-19T11:39:06.235Z (9 months ago)
- Topics: connector-layer, tpconnect, tsconnect
- Language: TypeScript
- Homepage: https://developers.etrusted.com/solutions/newgen-sdk/introduction.html
- Size: 1.7 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
## Connect App Connector
[](https://github.com/trustedshops-public/connect-app-connector/blob/main/LICENSE)
[](https://sonarcloud.io/summary/new_code?id=trustedshops-public_connect-app-connector)
[](https://sonarcloud.io/summary/new_code?id=trustedshops-public_connect-app-connector)
[](https://sonarcloud.io/summary/new_code?id=trustedshops-public_connect-app-connector)
[](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
...
...
```