SolidX

Storage Providers

Overview of supported media storage providers in SolidX applications.

SOLID supports multiple storage providers for media files, offering flexibility in how and where your media assets are stored.

Supported Providers

Local Filesystem

  • Description: Store files directly on the server's filesystem
  • Use Case: Development environments, small applications
  • Configuration:
{
  "provider": "local",
  "config": {
    "rootPath": "/path/to/uploads",
    "baseUrl": "http://your-domain.com/uploads"
  }
}

Amazon S3

  • Description: Store files in Amazon S3 buckets
  • Use Case: Production environments, scalable applications
  • Configuration:
{
  "provider": "s3",
  "config": {
    "bucket": "your-bucket-name",
    "region": "us-west-2",
    "accessKeyId": "YOUR_ACCESS_KEY",
    "secretAccessKey": "YOUR_SECRET_KEY"
  }
}

Best Practices

Organization

  • Use clear folder names
  • Maintain consistent structure
  • Apply relevant tags
  • Update metadata regularly

Performance

  • Optimize file sizes
  • Use appropriate formats
  • Limit folder sizes
  • Regular cleanup

Security

  • Set proper permissions
  • Use secure sharing
  • Monitor access
  • Regular audits

Workflow

  • Document naming conventions
  • Define folder structure
  • Establish backup procedures
  • Create usage guidelines