Firebase function that automatically chunk files once uploaded to the storage repository
Create a jar with all the dependencies:
npm install
Edit the index.js file and replace the following line for the right path to the firebase service account file:
var serviceAccount = require('../datahop-testbed-firebase-adminsdk-x7v7s-6397926fd5.json');
Execute the function with the following command:
node index.js