Antoine du Hamel 34c78e9093 meta: run Prettier on existing files (#4713) 1 年之前
..
client 4347b9b906 example: fix `custom-provider` example (#3854) 2 年之前
server 8b6e87a168 Custom provider fixes (#4498) 1 年之前
README.md 4347b9b906 example: fix `custom-provider` example (#3854) 2 年之前
index.html 34c78e9093 meta: run Prettier on existing files (#4713) 1 年之前
package.json 141eb248be meta: upgrade to Vite 4 and ESBuild 0.16 (#4243) 2 年之前

README.md

Uppy + Companion + Custom Provider Example

This example uses @uppy/companion with a dummy custom provider. This serves as an illustration on how integrating custom providers would work

Run it

Note: this example is using fetch, which is only available on Node.js 18+.

First, you want to set up your environment variable. You can copy the content of .env.example and save it in a file named .env. You can modify in there all the information needed for the app to work that should not be committed (Google keys, Unsplash keys, etc.).

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

To run the example, from the root directory of this repo, run the following commands:

corepack yarn install
corepack yarn build
corepack yarn workspace @uppy-example/custom-provider start