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.
- Enable Cloud Functions, Drive API and Sheets API in a Google Cloud Project
- Authenticate with gcloud to a project with Cloud Functions enabled:
$ gcloud auth application-default login
- Acquire a Github token and store in /functions
- Sheets API: developers.google.com/sheets/api/
- Cloud Functions: cloud.google.com/functions/
- Cloud Scheduler: cloud.google.com/scheduler/
- Octokit(Node): https://www.npmjs.com/package/@octokit/rest