A demo setup using Skipper and RESTify
npm install
to install all dependencies- in the
client.js
file set thepathToFile
variable to the directory of the file you would like to upload - in the
client.js
file set thebaseURL
variable to the URL the server is located. If this is setup on the same machine this will be your own IP - in console, cd to the project, then call
node index.js
to start the server - in another console, cd to the project, then call 'node client.js`
- Your file will now be uploaded and placed into the
./.tmp/upload
folder. This folder will be created in the project root if it doesn't exist already