Stonecrusher
Stonecrusher
TTCTheo's Typesafe Cult
Created by Stonecrusher on 2/16/2025 in #questions
UTapi or is there Something better?
I have to make a form in which when i submit the form, the images are uploaded to uploadthing, and then all formdata along with the urls of the images are added to the database. Previously, I made an next js route handler and used utapi to which I gave the images via formdata and get back the urls and ids. I am currently refactoring a lot of apis and components. I have also upgraded to uploadthing v7. I was wondering is utapi is a still way to go or is there something else better. I don't want to manually submit images and then submit the form, I want to submit both images and form with same button.
1 replies