/work-less-do-more

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Work less do more

This application uses the Github API to collect metrics on the Node.js runtime to correlate it with survey in a Google Form. It is hosted on a Google Cloud Function.

To generate the productivity chart you may either deploy the Cloud Function or run the generation code locally.

Set up

  1. Enable Cloud Functions, Drive API and Sheets API in a Google Cloud Project
  2. Authenticate with gcloud to a project with Cloud Functions enabled: $ gcloud auth application-default login
  3. Acquire a Github token and store in /functions

Reference Material

  1. Sheets API
  2. Cloud Functions
  3. Cloud Scheduler
  4. Octokit(Node)

Presentations by the Authors About This Code