Skip to content

jandudulski/direct-upload-example

Repository files navigation

README

sequenceDiagram
  participant Client
  participant Backend
  participant Storage
  Client->>Backend: POST rails/active_storage/direct_uploads
  Backend->>Backend: create ActiveStorage::Blob
  Backend->>Storage: url_for_direct_upload
  Storage-->>Backend: signed url
  Backend-->>Client: json with signed url
  Client->>Storage: PUT upload to signed url
  Client->>Backend: POST entity["image"]=key
Loading

Know issue:

About

For presentation purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published