This is a distributed file storage service, the back-end through a variety of different drivers can be achieved with distributed file storage, front-end with HAProxy achieve high availability.
git clone http://<git-repo-url>/stack
cd stack
npm install
node_modules/.bin/typings installnpm run grunt serve"upload"
Accepts a POST request of type multipart/form-data and saves the data in the file field of the request to local.
"file"
Accept the GET request to get the saved file from local.
"disk"
Local disk drive, through this drive with moosefs, GlusterFS, ceph and other distributed file system can support distributed storage.
"ftp" ftp driver.
"hdfs" hdfs driver.
"maria" maria driver.
"memcached" memcached driver.
"mongo" mongodb driver.
"pg" postgresql driver.
"redis" redis driver.