dependabot[bot] 14b10b02e3 build(deps): bump body-parser from 1.20.2 to 1.20.3 (#5462) il y a 7 mois
..
client b7b65b9aeb PartialTree - get rid of `.onFirstRender()` (#5187) il y a 10 mois
server 3878f2ee2f @uppy/companion: rename `authProvider` to `oauthProvider` (#5198) il y a 10 mois
README.md 7d6937300a meta: enable prettier for markdown (#5133) il y a 11 mois
index.html 34c78e9093 meta: run Prettier on existing files (#4713) il y a 1 an
package.json 14b10b02e3 build(deps): bump body-parser from 1.20.2 to 1.20.3 (#5462) il y a 7 mois

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