An open API service indexing awesome lists of open source software.

https://github.com/andrewsomething/digitalocean-spaces-example-node

An example using DigitalOcean Spaces from Node.js on Glitch
https://github.com/andrewsomething/digitalocean-spaces-example-node

digitalocean digitalocean-spaces glitch nodejs object-storage

Last synced: 8 months ago
JSON representation

An example using DigitalOcean Spaces from Node.js on Glitch

Awesome Lists containing this project

README

          

# DigitalOcean Spaces for Node.js Sample Project

[DigitalOcean Spaces](https://www.digitalocean.com/products/storage/object-storage/) was designed to be compatible with the AWS S3 API. This simple Node.js application illustrates the usage of the AWS SDK for Node.js with Spaces. It connects to the Spaces API, creates a Space, and uploads a file to it.

## Getting Started

- [Remix this project](https://glitch.com/edit/#!/digitalocean-spaces-example)
- Then add the Access Key and Secret into the `.env` file in your Glitch project. You can find these in the [Applications & API page](https://cloud.digitalocean.com/settings/api/tokens) in the DigitalOcean control panel.

## Credits

This project was originally based on [aws-nodejs-sample](https://github.com/awslabs/aws-nodejs-sample) and remixed from [aws-sdk](https://glitch.com/edit/#!/remix/aws-sdk).

## License

Like [aws-nodejs-sample](https://github.com/awslabs/aws-nodejs-sample), this project is under the Apache License 2.0.