💧 Vue.js component works with AWS S3 serverlessly
JavaScript Vue HTML
Switch branches/tags
Nothing to show
Clone or download
kfei Merge pull request #5 from nikugogoi/patch-1
catch error from server
Latest commit 167affb Jan 1, 2018
Permalink
Failed to load latest commit information.
frontend catch error from server Dec 30, 2017
lambda Add README Nov 27, 2016
README.md [README] Add architecture explanation Nov 27, 2016

README.md

vue-s3-dropzone

Vue 2.0 dropzone component uploads files to AWS S3 serverlessly.

Overview

  • A Vue.js 2.0 component wrapping Dropzone.js
  • Upload files to AWS S3 serverlessly with AWS Lambda.

Demo

demo-gif

Quickstart

Clone this repo:

git clone https://github.com/kfei/vue-s3-dropzone

This repo contains two directories: frontend and lambda. You must first create the AWS Lambda function and deploy it onto AWS API Gateway. Then put the invoke URL into frontend/src/config.js so that you can run and test the Vue powered web client by:

cd frontend
yarn install
npm run dev

Please make sure you have correct privilege/policy/CORS settings on AWS. Feel free to open an issue if you happened to be trapped by that. 😢

Architecture

You can have a look at the architecture explanation on Milkr.

demo-pic

License

MIT