![]() I went with the archiver package: npm install archiver -save Since the LMS is a web application, we want a download link that streams the contents back to the student on the fly. The nature of the downloaded materials, and the fact that students need to download multiple items, means that we want to zip those files up. Some of these materials are PowerPoint documents, some of Word documents, and some are even videos. ![]() In one particular use case, students can download all the materials for a particular course, for a particular week, for a particular day, or for an individual activity. As I've been working on the front-end of this learning management system (LMS) that my team and I have been building at work, I've had to build out a handful of functionality to deal with the ways that students interact with the courses-whether course content, course meta data, or course materials.
0 Comments
Leave a Reply. |