Upload service is part of the Alchemy ecosystem. Its role is to handle uploaded assets by authenticated users and trigger other services so they can fetch the file.
Service wraps the following end projects:
- Upload API (back end)
- Uploader client (front end)
- Create new application (i.e
uploader
) at https://<alpha.preprod.alchemyasp.com>/developers/application/new/ - Generate a token
Note that the token will be link to your user account. Uploader will reach Phraseanet through your user.
TODO: Phraseanet should provide an API key instead of a user OAuth token.
Override environment variables defined in .env
file:
DEV_MODE=false
CLIENT_ID=<THE_CLIENT_ID>
CLIENT_SECRET=<A_SECRET>
In order to avoid commit request to consumer target, you can define ASSET_CONSUMER_ACCESS_TOKEN=avoid
.