Projects
View on GitHub
zzzzzhowie/file-upload
About
A guide to uploading and processing large files, using Vue.js on the frontend and Node.js on the backend.
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalImplement Large File Upload and Resume Feature
English | 中文
Node14 is recommended
To retry the upload, you need to delete the file in /target directory, otherwise the upload will succeed directly because the server cache the file
download demo file: https://v0c98mphqw.feishu.cn/file/boxcnZ34jCyQziXxsS9NaV0zfre
Frontend
- Vue@2
- Element-ui
- Blob#slice: file slice
- FileReader + WebWorker + spark-md5: create file hash
- xhr: send formData
Backend
- Nodejs@14
- multiparty: resolve formData
start
npm install
npm run start
Explore related projects
Loading…