Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ecomplus/apps-manager
JS lib to manage E-Com Plus store applications
https://github.com/ecomplus/apps-manager
admin ecomplus ecomplus-apps marketplace
Last synced: 3 months ago
JSON representation
JS lib to manage E-Com Plus store applications
- Host: GitHub
- URL: https://github.com/ecomplus/apps-manager
- Owner: ecomplus
- License: agpl-3.0
- Created: 2019-11-01T19:11:14.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T16:02:15.000Z (3 months ago)
- Last Synced: 2024-10-22T03:52:32.693Z (3 months ago)
- Topics: admin, ecomplus, ecomplus-apps, marketplace
- Language: JavaScript
- Size: 2.93 MB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# apps-manager
[![Publish](https://github.com/ecomplus/apps-manager/workflows/Publish/badge.svg)](https://github.com/ecomplus/apps-manager/actions?workflow=Publish) [![CodeFactor](https://www.codefactor.io/repository/github/ecomplus/apps-manager/badge)](https://www.codefactor.io/repository/github/ecomplus/apps-manager) [![npm version](https://img.shields.io/npm/v/@ecomplus/apps-manager.svg)](https://www.npmjs.org/@ecomplus/apps-manager) [![License AGPL](https://img.shields.io/badge/License-AGPL-orange.svg)](https://opensource.org/licenses/AGPL-3.0)
JS lib to manage E-Com Plus store applications
[Changelog](https://github.com/ecomplus/apps-manager/blob/master/CHANGELOG.md)
## Usage
The `@ecomplus/apps-manager` package can be used to work with [E-Com Plus Market](https://market.e-com.plus/) and [Store API](https://developers.e-com.plus/docs/api/#/store/applications/) applications, with methods for apps search, install, edit and delete.
It's available for both Node.js and browser environments.
- [Get started](https://developers.e-com.plus/apps-manager/module-@ecomplus_apps-manager.html)
- [Class reference](https://developers.e-com.plus/apps-manager/EcomApps.html)### Example
```js
import ecomAuth from '@ecomplus/auth'
import ecomApps from '@ecomplus/apps-manager'ecomApps.listFromMarket()
.then(availableApps => {
console.log(availableApps)
})
.catch(console.error)const listStoreApps = () => {
ecomApps.list()
.then(installedApps => {
console.log(installedApps)
})
.catch(console.error)
}if (ecomAuth.checkLogin()) {
listStoreApps()
} else {
ecomAuth.on('login', listStoreApps)
}
```