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. :)
Important experiment - File uploading
Here's how file uploading works
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. :)