https://github.com/rolangom/gcloud-funcs-storage
Google Cloud Functions example showing how to upload file using formidable.
https://github.com/rolangom/gcloud-funcs-storage
cloud-functions cloud-storage formidable google javascript nodejs
Last synced: about 1 month ago
JSON representation
Google Cloud Functions example showing how to upload file using formidable.
- Host: GitHub
- URL: https://github.com/rolangom/gcloud-funcs-storage
- Owner: rolangom
- License: gpl-3.0
- Created: 2017-06-15T01:19:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-15T12:36:40.000Z (about 9 years ago)
- Last Synced: 2025-02-27T07:25:50.736Z (over 1 year ago)
- Topics: cloud-functions, cloud-storage, formidable, google, javascript, nodejs
- Language: JavaScript
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gcloud-funcs-storage
[Google Cloud Functions](https://cloud.google.com/functions/) example showing how to upload file using [node-formidable](https://github.com/felixge/node-formidable) into Google [Cloude Storage](https://cloud.google.com/storage/).
1. Install the [gcloud tool](https://cloud.google.com/sdk/downloads)
2. Create a project in Google Cloud Platform
3. Enable Google Cloud Storage and Functions
4. Create a bucket or use an existing one
5. Clone this project or take the code you need
5. Install dependencies
npm install
6. Deploy to Google Cloud Functions:
gcloud beta functions deploy upload --stage-bucket [CLOUD-BUCKET-NAME] --trigger-http