How to Upload a File to Google Cloud Storage in Node.js

preview_player
Показать описание


----

----

----

----
Follow Me Online Here:

#benawad

----
#benawad
Рекомендации по теме
Комментарии
Автор

Thank you so much for this video! With your help I fixed a bug in my bucket access. Yeah!

katerinarostova
Автор

Thank you very much, work as a charm!

brenomazieiro
Автор

Great! What if there's a need to create a NojeJS API to interact with the bucket?

trueurself
Автор

Nice, next time I'll ask you soon, about gcp :D Thx Ben

jmbs
Автор

lol 5 min ago I was searching for a tutorial on this.

blasttrash
Автор

any suggestions on updating the query so that it will display the uploaded images?

supersaiyanswag
Автор

Works great. But how to upload multiple files or even an entire folder to GCP??

thanigaivelk
Автор

it says cannot read property join of undefined in the keyFilename join

PabloRedstroy
Автор

S3 supports browser direct uploads. It would be nice to have a similar tutorial on google storage

frankyb
Автор

Hi! thanks for the video! I could upload the image from my node.js server to de google cloud api and then mi react component gets the right url (if i put in the browser that url it shows the image) but still the img html tag goes to the alt and i dont know why.. Anyone could help me??

mariaflorenciacaballero
Автор

Hi Ben, did you ever implemented saving files to a google drive in node js for users who has to give permission? If you did, do you have any tips? What api did you use? Trying to figure it out.😃

dennistennis
Автор

Hey Ben I have a question, I have integrated cloud storage for upload and download but for upload what I'm doing is I use multer with in memory storage, how do I optimise it for high loads because my server may run out of memory on spikes. File size can be atmost 100mb

clinton
Автор

I would love to know what that json file looks like. Any idea anyone? I have a key but it seems I can't just pass it as a string.

nathanthomas
Автор

Great video! I have the exact same setup, and everything works, except the uploaded image is broken when I view it in the google console. Do you have any ideas on why? :(

elina
Автор

Thanks for the amazing video but Can you please tell how to show the file in UI, if bucket is private?

singla__sisters
Автор

Very nice video, liked a lot. Question: can I use google cloud storage client library in a google cloud function, or I want to know if it is incorrect?? Wich is the best way to do it?

brandonliralizarraga
Автор

I'm new to using GCS and would please like to know how to retrieve a file after I've uploaded it. Thanks

leonardchinonso
Автор

Can you show an example of a download from Storage using node js with express?

pickemparty
Автор

if create a blog like app using MERN can I use this method to upload images like post, and can other user post as ?🤔

ullaskunder
Автор

Is there any risk for having images public for a site that needs to upload a lot of images - for example a bucket to hold thousands of product images.

It doesn't matter if these images are public in this example (in the sense that it's ok if someone views them all), but if someone was to cycle through all the images constantly (possibly maliciously), your bill would essentially be unlimited.

Is there some way to make images private, but accessible by the front end/your backend etc?

CardinalHijack