Giter Club home page Giter Club logo

shop's Introduction

shop

Lets sell some shit

links useful for authenticating google spreadsheet:

https://cmichel.io/how-to-access-google-spreadsheet-with-node/

https://github.com/theoephraim/node-google-spreadsheet#service-account-recommended-method

Setting up google sheet

  1. Create a google sheet
  2. Go to https://console.developers.google.com/project
  3. Create new project
  4. Wait some time for it to appear in the list
  5. Choose: side-menu => navbar => administration => service account
  6. Click create service account
  7. Give it a role editor, owner or other
  8. Tick create key and choose json. Keep the downloaded file
  9. Click ready
  10. Copy new service account e-mail from json file and share the gsheet with that account

Error handling decision 1

action: part of businessTasks interface.

try {

  • actions <- execute / throws errors
  • ChangeArrayActions[action] <- send
  • this.eventEmitter.emit(events.changeArrayReadyToWrite)

} catch {

  • save changeArray / so that the dataChanges can be invoked later based on the saved file }

reason:

  1. actions can throw error and that should stop emition of changeArrayReadyToWrite
  2. the expected actions should be stored on error, so that they can be reloaded
  3. the error should state exactly which action and with what parameters went wrong, so this can be reinvoked easily

test.runner architecture vs runner architecture

shop's People

Contributors

justnpt avatar

shop's Issues

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.