• Stars
    star
    457
  • Rank 95,775 (Top 2 %)
  • Language
    JavaScript
  • Created almost 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

💧 Vue.js component works with AWS S3 serverlessly

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