Port of meteor-file-sample-app from COFFEE / JADE / SEMANTIC UI to JS / HTML / BOOTSTRAP
The meteor-file-collection looks like a nice tidy package for doing simple file uploads. I am completely ignorant of Coffee Script, Jade and Semantic UI and unfortunately for me meteor-file-collection is implemented with those technologies
As part of learning how to use meteor-file-collection I decided to port the sample app over to JS, HTML and Bootstrap. In the process I figured out how to use it.
I also figured that I would share the code so others in my predicament could take advantage of it.
Many thanks to vsivsi!
Enjoy!
meteor npm install
meteor
- Extended file-collection with
findOneFile
. This will return the file data sychronously. - Added fix for flow router issue.
- Limited panel output to 5K
- Clear panel on restart
- integrate stream-with-known-length-to-buffer, turns a stream into a buffer
- Added support for dumping the data to an output panel. This shows how to read the data back from the file collection.
- A little bit of refactoring and added a couple of comments
- Added support for
Pause All
andResume All
- Refactored to meteor client/server/lib directories, broke out template code
- Initial commit
- Added "Upload" button
- Added some sparse instructions