Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dashpilot/quickstart-netlify-spaces

Netlify functions for working with S3/DO Spaces. It uses Netlify Identity for authentication, so you can let users log in and, edit the site, and save images and json data to Digitalocean Spaces or Amazon S3
https://github.com/dashpilot/quickstart-netlify-spaces

amazon-s3 digitalocean-spaces netlify netlify-functions netlify-identity

Last synced: 12 days ago
JSON representation

Netlify functions for working with S3/DO Spaces. It uses Netlify Identity for authentication, so you can let users log in and, edit the site, and save images and json data to Digitalocean Spaces or Amazon S3

Awesome Lists containing this project

README

        

# netlify-spaces

Netlify functions for working with Amazon S3/Digitalocean Spaces. It uses Netlify Identity for authentication, so only logged-in users can make requests to S3/Spaces.

## How To:

### 1. Deploy this repo to Netlify

Deploy this repo to Netlify using the 'Deploy to Netlify'-button below:

### 2. Add your S3 credentials as environment variables

In Netlify, go to settings > environment and create the following environment variables for your Amazon S3 or Digitalocean Spaces settings

`S3_ENDPOINT`: your S3/Spaces endpoint (e.g ams3.digitaloceanspaces.com)\
`S3_KEY`: your S3/Spaces key\
`S3_SECRET`: your S3/Spaces secret\
`S3_BUCKET`: your S3/Spaces bucket

### 3. Enable Netlify Identity and log in
In Netlify, go to 'Identity' and press 'Enable Identity'\
Log in to your website via /login\
After login, you'll be redirected to the homepage, where you can test the integration with S3/Spaces

### 4. Press the :star: button
Don't forget to press the :star: button to let me know I should continue improving this project