ZipStream
ZipStream copied to clipboard
A service to build and stream zipped bundles of remote files.
It seems like AWS Lambda would be a useful and low-cost way to run this service for many developers (although not Cadasta Foundation given its 300 second max-lifetime). It would...
Remove an unnecessary directive. Also add more echo statements to better describe what actions are taking place. This was only done after doing a cursory read-over. Should be reviewed and...
db hint
https://github.com/Cadasta/ZipStream/blob/3b95b03cb92fe0362b7900c4c7b86f8929030404/src/backends/db/postgres/index.js#L40 if you just use `oneOrNone` instead of `one`, you won't need to do this kind of error handling, just check for `null` ;)
Currently, our coverage is poor. Some files have 0% coverage. Once this is fixed (#9), we should add the `"per-file": true` flag to the `nyc` configuration to test each file...
This project could likely benefit from a switch to TypeScript, I think Interfaces could add stability to the way in which `fs` and `db` instances are written.
The codebase should have 100% test coverage, along with integration with: * Travis.io * Requirements.io * Coverage.io
It would be helpful to know just how many simultaneous downloads the codebase could support on an EC2 t2.nano or t2.micro instance.
To assist with development on an offline machine, a filestore backend could be added to support reads from the local disk.