Skip to content

Feat(feature) File Upload - #140

Merged
memplethee-lab merged 13 commits into
SourceXXL:mainfrom
ykargeee-bit:feat/Profile
Aug 21, 2026
Merged

Feat(feature) File Upload #140
memplethee-lab merged 13 commits into
SourceXXL:mainfrom
ykargeee-bit:feat/Profile

Conversation

@ykargeee-bit

Copy link
Copy Markdown
Contributor

Closes #111

Description

Adds a complete file upload and storage system with support for local storage, Amazon S3, and Azure Blob Storage.

The feature includes:

  • File upload endpoints
  • File metadata and validation
  • Configurable upload size limits
  • Local, S3, and Azure Blob storage backends
  • File scanning support
  • File cleanup and retention policies
  • File expiration handling
  • Storage encryption configuration
  • File upload database entities
  • Application-wide module and environment integration
  • Unit tests for validation, scanning, and storage backends

This provides a flexible and configurable foundation for securely uploading, storing, scanning, and managing files across different storage providers.

Fixes #111

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Performance improvement
  • Code refactoring

How Has This Been Tested?

  • Unit tests added/updated
  • E2E tests added/updated
  • Manual testing performed
  • Tested in staging environment

Validation performed locally:

  • npm run build:tsc
  • npm test -- src/infrastructure/file-upload
  • 5 test suites passed
  • 62 tests passed

Tests cover file validation, file scanning, local storage, S3 storage, and Azure Blob storage behavior.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new build errors
  • I have added tests that prove my feature works
  • New and existing relevant unit tests pass locally
  • Any dependent changes have been merged and published in downstream modules

Screenshots

Not applicable.

Additional Notes

The storage backend is selected through environment configuration:

  • local
  • s3
  • azure_blob

Cloud SDKs are loaded dynamically, allowing local development without requiring cloud provider packages to be active.

@memplethee-lab
memplethee-lab merged commit 2f00a18 into SourceXXL:main Aug 21, 2026
2 checks passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Aug 21, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create File Upload and Storage Module

2 participants