The Blocklet Uploader is a comprehensive file upload solution designed for blocklets, built upon the robust and extensible Uppy file uploader. It consists of two primary packages that work together to provide a seamless experience, from the user interface in the browser to file processing on the server.
The standard workflow involves the user interacting with the @blocklet/uploader component in your application's frontend. This component then communicates with a backend endpoint, powered by @blocklet/uploader-server, which handles the actual file storage and processing.
It's important to note that @blocklet/uploader can function without a custom backend if a Media Kit blocklet is present, as it provides default upload handling. You only need to install and configure @blocklet/uploader-server when you require custom server-side logic, such as saving file metadata to a specific database after an upload completes.