node-gcs-upload-example
An example of uploading files to a google cloud storage bucket
Setup
- Clone this repo
- Install dependencies
npm install
- Set the the path to the service key
export GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/to/service/key.json
- Run the script
npm start