Psi
How to handle file uploads
I'm a DevOps guy and you want to use ObjectStorage when someone manages it for you cause he thinks its better choice for the infrastructure 😉
I mostly implement both variants, Disk and S3 but store my metadata in my own DB
44 replies
How to handle file uploads
Currently I do async file uploads, means, I have several types of files in my form and when the user clicks "save" I will first upload each file as body-stream. My backend responds with a uuid representing the file. I assoicate than the uuid to the current Item and store the item
44 replies
How to handle file uploads
I've also this package in my bookmarks but never used: https://github.com/mjackson/remix-the-web/tree/main/packages/form-data-parser
Pro: build on standards and does not depend node-streams afaik
44 replies
How to handle file uploads
There is a hono-upload lib which wraps busboy: https://github.com/ps73/hono-upload
Probably this could be used or give you a direction.
44 replies