NextJS Upload to Google Cloud Using Signed URL

ScriptBytes
ScriptBytes
1.9 هزار بار بازدید - 6 ماه پیش - Learn how to upload files
Learn how to upload files to Google Cloud Storage in NextJS using a Signed URL. Signed URL's are a great option for granting temporary permission to users, or for uploading larger files. In this demo I get the Signed URL using a server action. I also cover how to create the service account and add the JSON Key to the project, as well as how to configure the CORS setting on your Google Cloud Storage bucket. Google Cloud docs on uploading using Signed URLs: cloud.google.com/storage/docs/samples/storage-gene… Google Cloud docs on setting up CORS config: cloud.google.com/storage/docs/using-cors#command-l… Github link for code from video: github.com/ScriptBytes/NextJSDemo/tree/upload-sign… Follow me on social media! Instagram: www.instagram.com/scriptbytes/ Threads: www.threads.net/@scriptbytes Check out my blog! scriptbytes.io/
6 ماه پیش در تاریخ 1402/12/14 منتشر شده است.
1,939 بـار بازدید شده
... بیشتر