@ecomplus/application-sdk
v3.0.0
Published
App auth and methods to E-Com Plus Store API with NodeJS and Firestore
Maintainers
Readme
E-Com Plus Application SDK
Abstractions for apps authentication and methods to E-Com Plus Store API with NodeJS and Firestore/SQLite.
Getting started
Install pkg with firestore or sqlite tag:
npm i --save @ecomplus/application-sdk@firestore
# OR
npm i --save @ecomplus/application-sdk@sqliteOr you may also install default version and respective database client (depending on your environment):
npm i --save @ecomplus/application-sdk --no-optionalnpm i --save sqlite3@4
# OR
npm i --save firebase-admin@8Environment variables
Variable | Default | Info
--- | --- | ---
ECOM_AUTH_DB | ./db.sqlite3 | SQLite3 database pathname (if not using Firestore)
ECOM_AUTH_UPDATE | enabled | Set disabled to prevent update-tokens automatic service
ECOM_AUTH_DEBUG | | Set true to debug setup and background services
ECOM_AUTH_SETUP_TIMEOUT | enabled | disabled on Google (Firebase) Cloud Functions by default
ECOM_AUTH_UPDATE_INTERVAL | enabled | disabled on Google (Firebase) Cloud Functions by default
Documentation
No methods reference (TODO)
