This application uses @uppy/companion with a custom AWS S3 configuration.
Files are uploaded to a randomly named directory inside the uppy/
directory in a bucket.
To run this template, clone this repository and then run these commands from the root folder:
Run these commands from the root folder.
npm install
Install dependencies.npm run build
Builds the backend app to thebuild
directory.
Run these commands from the client
folder.
npm run build
Builds the frontend app to thebuild/client
directory.
Then, set up the COMPANION_AWS_KEY
, COMPANION_AWS_SECRET
, COMPANION_AWS_REGION
, and COMPANION_AWS_BUCKET
environment variables for @uppy/companion.
Then, again in the repository root, start this application by doing:
npm run start