An example on how to use DigitalOcean Spaces with S3 libraries.
The DigitalOcean Spaces API is almost a 1:1 copy of the S3 API. But there are some differences. The main difference is which APIs are supported. Obviously, the DigitalOcean Spaces API supports less features than real S3. There is some more detail in the Spaces Documentation.
- copy
example-config.js
toconfig.js
- update
config.js
with the correct details npm start