feat(17-01): add S3 storage service with upload, delete, and presigned URL support

- Create storage.service.ts wrapping @aws-sdk/client-s3 with forcePathStyle for MinIO
- Export uploadImage, deleteImage, getImageUrl, withImageUrl, withImageUrls
- Add unit tests with mocked S3Client (8 tests passing)
- Install @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner
This commit is contained in:
2026-04-05 12:15:09 +02:00
parent f7c9f3dc94
commit f845f878fe
4 changed files with 460 additions and 0 deletions

View File

@@ -35,6 +35,8 @@
"typescript": "^5.9.3"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1024.0",
"@aws-sdk/s3-request-presigner": "^3.1024.0",
"@hono/zod-validator": "^0.7.6",
"@modelcontextprotocol/sdk": "^1.29.0",
"@tailwindcss/vite": "^4.2.1",