Commit b4c1501
committed
feat: add S3 signed URL generation for image uploads
- Implemented a new API route for generating signed URLs for S3 uploads in `src/app/api/storage/sign/route.ts`.
- Added input validation using Zod to ensure the request body contains an array of keys.
- Integrated AWS SDK to create signed URLs for specified keys with a 7-day expiration.
- Created an S3 client in `src/backend/s3.client.ts` to handle S3 interactions with environment-specific configurations.1 parent 936d6f3 commit b4c1501
File tree
5 files changed
+8604
-0
lines changed- src
- app/api/storage/sign
- backend
5 files changed
+8604
-0
lines changed
0 commit comments