Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ecomplus/application-sdk

Open more actions menu

Repository files navigation

E-Com Plus Application SDK

CodeFactor npm version npm version npm version License MIT

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@sqlite

Or you may also install default version and respective database client (depending on your environment):

npm i --save @ecomplus/application-sdk --no-optional
npm i --save sqlite3@4
# OR
npm i --save firebase-admin@8

Environment 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)

About

Abstractions for apps authentication and methods to Store API with NodeJS and Firestore/SQLite

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 5

Morty Proxy This is a proxified and sanitized view of the page, visit original site.