Skip to content

Commit 608c989

Browse files
Files upload work!
1 parent 523001e commit 608c989

11 files changed

Lines changed: 363 additions & 30 deletions

File tree

.env.example

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ SINGLESTORE_PORT=STH
55
SINGLESTORE_DB_NAME=STH
66

77
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=STH
8-
CLERK_SECRET_KEY=STH
8+
CLERK_SECRET_KEY=STH
9+
10+
UPLOADTHING_TOKEN=STH

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ This is a Google Drive clone based on [Theo's Tutorial](https://www.youtube.com/
77
- [x] Set-up database and data model
88
- [x] Move folder open state to URL
99
- [x] Add auth
10-
- [ ] Add file uploading
10+
- [x] Add file uploading
1111
- [ ] Add analytics
1212

13-
## 29-07-2025 (20:41)
13+
## 30-07-2025 (14:56)
1414

15-
- [x] Change folders to link components, move all client state
16-
- [x] Clean up the database and data fetching patterns
1715
- [ ] Real homepage
16+
- [ ] Upload files to the right folder
17+
- [ ] Delete files button
18+
- [ ] Allow files that aren't images to be uploaded

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.2",
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.1",
37+
"uploadthing": "^7.7.3",
3638
"zod": "^3.24.2"
3739
},
3840
"devDependencies": {

0 commit comments

Comments
 (0)