In many projects, facilitating user uploads to cloud services is a common requirement. In my current project, I find myself inviting users to seamlessly upload various files, such as profile pictures, GPS track files, or session photos, to the WindR.org site. To enhance my understanding, I've opted to employ multiple cloud providers —Microsoft Azure Blob Storage, Amazon S3, Google Cloud Storage— allowing me to test and compare their functionalities.
This article guides you through the process of:
- Creating a REST service for file uploads using RESTEasy Reactive in Quarkus.
- Uploading files to the cloud from a Quarkus application.
To complement this discussion, a complete code example is available on GitHub. This resource serves as a practical reference for learning and experimentation.