Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

booz-allen-hamilton/data-upload-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

data-upload-tool

This project serves as a boilerplate for integrating resumable file uploads into your project. It leverages resumable.js to split a file into chunks and transmit it to the server, and re-assemble once completed.

Features

  • Minimal dependencies
  • Resumable uploads across sessions/browsers
  • Auto-unzip archives on server
  • Robust logging for each file

Project structure

This repository contains two projects: a nodejs backend, and a React front-end.

Running the Nodejs Project

  • cd nodejs
  • yarn
  • node server.js
  • Navigate to http://localhost:3200/ping and you should see a response.

Running the React Project

  • cd frontend-react
  • yarn
  • yarn run start

Navigate to http://localhost:3000/ and you should see the project being served.

How it Works

Using resumable.js, the file is uploaded to the server in chunks that are stored in a temporary location. Once complete, the file is re-assembled on the server and ran through any applicable pipelines (for example, if it is a zip archive, it will automatically unzip the files on the server).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published