📄️ Introduction
Uploading is a common task in web applications, it's used to upload images, videos, documents, and other types of files.
📄️ Uploads configurations
Uploads are essential for any application, this section will cover the uploads configurations to give you a better control over how files are being uploaded and transformed.
📄️ Uploading Files
Warlock has two ways to upload files, either uploading a one or more files, or uploading a chunked file.
📄️ Deleting Files
To delete uploaded file, use /uploads/:hash endpoint with DELETE method.
📄️ Upload Model
Warlock is shipped with Upload model to store the uploaded files in the database.
📄️ Getting Uploaded Files
There are two ways to get the uploaded file, either using the file path directly, or using the file hash.
📄️ Compressing images
Another powerful feature is compressing images after being uploaded and before stored, this will significantly reduce the size of the images and save the storage space.
📄️ AWS
Soon...