uppy/examples/aws-companion
Prakash a25226aab2
Fix @uppy/examples (#6099)
we forgot to update the examples after #5830
2025-12-08 09:48:23 +01:00
..
.gitignore example: fix aws-companion example (#3850) 2022-08-03 16:07:51 +02:00
index.html meta: run Prettier on existing files (#4713) 2023-09-29 11:11:28 +02:00
main.js Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00
package.json build(deps): bump body-parser from 1.20.3 to 1.20.4 (#6070) 2025-12-02 09:55:11 +01:00
README.md meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
server.cjs Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00

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