E-Com Plus Storage API (DO Spaces) Node.js Express App
- https://www.digitalocean.com/community/tutorials/how-to-upload-a-file-to-object-storage-with-node-js
- https://developers.digitalocean.com/documentation/spaces/
- https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html
git clone https://github.com/ecomclub/storage-api
cd storage-api
cp config/config-sample.json config/config.json
nano config/config.json
Edit config.json
placing correct values for your environment,
after that, start app with node:
node ./main.js
You need to use a web server such as NGINX or Apache HTTP, proxy passing the requests to configured TCP port.