A file server using mongodb gridfs
$ git clone https://github.com/SHLo/file-upload.git
$ cd file-upload
$ npm install
$ node index.js [server port]
If 'server port' parameter is missed, default server port will be 3000.
- Edit and check the db config in db-config.js, make sure mongod is running
- Use browser to access
http://localhost:${server port}
- Upload local file to server by the form on web page
- Uploaded files will be keep on the web page which are downloadable by clicking the 'download' links