sumanyu / Pair-Basket

Community of students teaching students
http://pairbasket.com/
1 stars 0 forks source link

File upload experiment #23

Closed sumanyu closed 10 years ago

sumanyu commented 10 years ago

Important experiment - File uploading

1) Person uploads local file using html5 file input 2) File gets transferred to our server using Meteor.call 3) On the server, I use a npm library to hook with our S3 server and upload it there. I add the file name and url to the classroom session uploaded files 4) I display the uploaded files as a list (for now)

Normally you cannot use npm libraries with meteor, but this dude made this library which allows you to do this. Given this, we can now use any npm library with meteor. :)

davinwong commented 10 years ago

we can merge this. I made a note in our "dec/jan plan" doc to look into the API key part, which we should update.