dependabot[bot] 14b10b02e3 build(deps): bump body-parser from 1.20.2 to 1.20.3 (#5462) 7 kuukautta sitten
..
.gitignore dfed0ff200 example: fix aws-companion example (#3850) 2 vuotta sitten
README.md 7d6937300a meta: enable prettier for markdown (#5133) 11 kuukautta sitten
index.html 34c78e9093 meta: run Prettier on existing files (#4713) 1 vuosi sitten
main.js dfed0ff200 example: fix aws-companion example (#3850) 2 vuotta sitten
package.json 14b10b02e3 build(deps): bump body-parser from 1.20.2 to 1.20.3 (#5462) 7 kuukautta sitten
server.cjs 37ad27d5d1 Merge branch `main` 9 kuukautta sitten

README.md

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