- Clone this repository
- Run
yarn install
- Run
yarn start:dev
Run yarn test
Name | Type | Default Value |
---|---|---|
RESIZE_PIXELS | Number | 900 |
MAX_CONCURRENT_UPLOADS | Number | 30 |
UPLOADS_FOLDER | String | 'uploads' |
S3_ACCESS_KEY | String | null |
S3_ACCESS_SECRET | String | null |
S3_UPLOADS_BUCKET | String | null |
S3_PUBLIC_PATH | String | null |
DB_SERVICE_URL | String | null |
SHOULD_ADD_WATERMARK | Boolean | false |
The storage is determined by the S3_* variables. If all are set, the uploaded files will be sent there. Otherwise, it will be stored in UPLOADS_FOLDER
(in the project's base path).
The URL of the service that stores the information about the galleries. The upload will fail if this parameter is unset.