Uploading a binary file to Firebase storage from Node JS

I Needed to upload a binary file ( a document, pdf or image file) from a Node JavaScript application to Cloud Storage for FireBase which stores your files in a Google Cloud Storage bucket. Documentation was a mess and I had 2 (code) problems. Continue reading Uploading a binary file to Firebase storage from Node JS