Uploadthing
Uploadthing
UploadThing is the easiest way to add file uploads to your full stack TypeScript application. Many services have tried to build a "better S3", but in our opinion, none found the right compromise of ownership, flexibility and safety.
Get Uploadthing API
Log in at https://uploadthing.com/sign-in.
- After logging in, you will see a
create a new app
button. simply click on it - A form will now display, with two inputs:
app name
andapp url
. Fill in the blanks and press thecreate app
button. This will generate a new dashboard for your application. - In the left sidebar of your newly established app's dashboard, click on API keys.
- Copy and paste the
UPLOADTHING_SECRET
into your.env.local
file.
apps/isomorphic/.env.local
UPLOADTHING_SECRET=sk_live_a25e1ec7d3d1fc1099dd3b860c20ff41c69e4aec5c0c5b6637326c5350f26656
- You're finished. You may now easily upload any media/file to uploadthing.
- For further information, please visit their official documents here https://docs.uploadthing.com/ and you can see it live on the
Your Photo
part https://isomorphic-furyroad.vercel.app/forms/profile-settings.