Commit 3bfc945
committed
feat: Add S3 file retrieval and processing functionality
- Updated package.json to include @aws-sdk/client-s3 for S3 operations.
- Enhanced DocumentProcessorController to process files from S3 using a file path.
- Implemented getFileFromS3 method to retrieve files from S3 and streamToBuffer to convert streams to buffers.
- Integrated ReportsService to fetch report records based on file paths and user IDs.
- Added findByFilePath and updateReport methods in ReportsService for report management.
- Improved error handling and logging throughout the new functionality.1 parent 3b69ff3 commit 3bfc945
File tree
5 files changed
+1421
-289
lines changed- backend
- src
- document-processor
- controllers
- reports
5 files changed
+1421
-289
lines changed
0 commit comments