Skip to content

lucastack/backend-upload-files-app

Repository files navigation

Upload Files Backend

Description

I wanted to learn how users can upload files to a remote bucket. After some investigation i came up with Signed Urls, a service by Google Cloud Storage.

Tools: Express js, Docker

How it works

Basically, a logged in user asks this backend to upload a file with a filepath, let's say folder/video.mp4, to a bucket. This backend responds with a signed Url that allows the user to upload the file directly with a PUT request to gs://bucket/folder/video.mp4.

With this setup you avoid giving credentials to users.

Feel free to ask me anything, just write an issue

See also the frontend for this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published