Projetos
Ver no GitHub
zzzzzhowie/file-upload
Sobre
Um guia sobre como fazer upload e processar arquivos grandes (usando Vue.js no frontend e Node.js no backend)
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
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 projetos relacionados
Carregando…