jorgsons
jorgsons
TTCTheo's Typesafe Cult
Created by jorgsons on 7/21/2023 in #questions
T3 & Uplaodthing mass Upload
I am currently faced with following: * Mass Upload regulary (every Month) ~1000 PDF documents. Sized between 1-4MB * Parse the original file name to match to a user key * Create a DB Record for every file uploaded, containing the uploaded filepath and some meta data I thought about using dropzone and letting the user drop all files there. On every file upload use trpc and create the record. Or can this be done in the Uploadthing FileRouter? Which would be somewhat nicer, instead of letting the client handle this. So the questions right now are: * Anyone have any recommendations or knows a limitation I am currently not aware of? * Can I create my DB Records in the uploadthing filerouter? * recommendations for this problem? Thank you !
2 replies