Giter Site home page Giter Site logo

ecomplus / application-sdk Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 1.5 MB

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

License: MIT License

JavaScript 99.73% Shell 0.27%
ecomplus applications integration-flow ecommerce-apps authentication-service nodejs firestore sqlite store-api

application-sdk's People

Watchers

 avatar  avatar  avatar  avatar

application-sdk's Issues

Use @ecomplus/client

Add @ecomplus/client to pkg dependencies and start using it on apiRequest method, also expose ecomClient.store (another name ?) with authentication as new sdk method.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm standard-version Available

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update all non-major dependencies (@commitlint/cli, @commitlint/config-conventional, axios, sqlite3)

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/create-release.yml
  • actions/checkout v4
  • actions/create-release v1
.github/workflows/publish.yml
  • actions/checkout v4
  • actions/setup-node v4
npm
package.json
  • @ecomplus/client ^2.3.1
  • @ecomplus/utils ^1.4.1
  • axios ^1.6.8
  • @commitlint/cli ^19.2.1
  • @commitlint/config-conventional ^19.1.0
  • husky ^8.0.3
  • standard ^17.1.0
  • standard-version ^9.3.2
  • firebase-admin >=9 <13
  • sqlite3 4.x

  • Check this box to trigger a request for Renovate to run again on this repository

Adicionar suporte a Firebase/Firestore

Suportar (opcionalmente) a utilização do SDK com cloud functions + Firestore (Google Firebase).

Minha sugestão é substituir as queries do SQLite3 em toda a lib com operações no Firestore se um parâmetro firestore (cliente) for enviado na função setup.

Obs.: O SDK deve continuar suportando SQLite3 como padrão, o Firestore é uma segunda opção.

Stop trying to create procedure after first auth error

Prevent multiple errors by trying to create procedures automatically when app hasn't the needed authentication scope.
Should remove store from queue after the first error and update the app on Store API to signalize the installation failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.