Skip to content

Commit 871ad61

Browse files
committed
Adding 'uploadthing' and Configure a File Router
1 parent d132e8d commit 871ad61

4 files changed

Lines changed: 248 additions & 0 deletions

File tree

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ SINGLESTORE_DATABASE="database"
1919
# Clerk
2020
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=some-publishable-key
2121
CLERK_SECRET_KEY=some-secret-key
22+
23+
# Uploadthing
24+
UPLOADTHING_TOKEN='uploadthing-token'

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"@libsql/client": "^0.14.0",
2525
"@radix-ui/react-slot": "^1.2.3",
2626
"@t3-oss/env-nextjs": "^0.12.0",
27+
"@uploadthing/react": "^7.3.1",
2728
"class-variance-authority": "^0.7.1",
2829
"clsx": "^2.1.1",
2930
"drizzle-orm": "^0.41.0",
@@ -33,6 +34,7 @@
3334
"react": "^19.0.0",
3435
"react-dom": "^19.0.0",
3536
"tailwind-merge": "^3.3.0",
37+
"uploadthing": "^7.7.2",
3638
"zod": "^3.24.2"
3739
},
3840
"devDependencies": {

0 commit comments

Comments
 (0)