uppy/examples/aws-companion
Prakash 5519b84409
@uppy: upgrade biome and more improvements (#6244)
- This PR upgrades `biome` from `2.0.5` -> `2.1.2` and adds two new
rules
-
[noUnusedImports](https://biomejs.dev/linter/rules/no-unused-private-class-members)
( we already had suppressions for this rule in code, but the rule itself
was never enabled in the config )
-
[noUnusedPrivateClassMembers](https://biomejs.dev/linter/rules/no-unused-private-class-members/)
- remove stale suppressions. 
- remove stale code.

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2026-05-21 12:28:03 +08:00
..
.gitignore example: fix aws-companion example (#3850) 2022-08-03 16:07:51 +02:00
index.html @uppy: upgrade biome and more improvements (#6244) 2026-05-21 12:28:03 +08:00
main.js update @examples/aws-companion (#6168) 2026-02-04 18:43:37 +05:30
package.json upgrade to express v5 (#6304) 2026-05-21 11:14:23 +08:00
README.md meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
server.cjs @uppy/examples: update examples after recent breaking changes (#6299) 2026-05-18 21:03:42 +05:30

Uppy + AWS S3 Example

This example uses @uppy/companion with a custom AWS S3 configuration. Files are uploaded to a randomly named directory inside the whatever/ directory in a bucket.

Run it

First, set up the COMPANION_AWS_KEY, COMPANION_AWS_SECRET, COMPANION_AWS_REGION, and COMPANION_AWS_BUCKET environment variables for @uppy/companion in a .env file. You may find useful to first copy the .env.example file:

[ -f .env ] || cp .env.example .env

To run this example, from the repository root, run:

corepack yarn install
corepack yarn workspace @uppy-example/aws-companion start