bootsaas logo

File uploads with S3

Bootsaas comes with integration with s3 sdk, meaning you can use any s3 provider that you want, just copy the keys to application.properties and you're good to go.

Usage is as simple as:

String uploadedFileUrl = uploadService.upload(path, file)

There is connection between User entity and UploadedFile, so you can associate every uploaded file to a user if you like.

You can define a bucket in the application.properties , which allows you to use different buckets for different environments.

bootsaas logoCopyright © 2024 - All rights reserved