Skip to content

DruRly/batton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Batton

Node.JS Static File Server with an API for uploading

###Starting Server

node app.js

###Uploading

var superagent = require('superagent')
var url = 'http://www.drurly.com/images/sinatra_screenshot.png'

request.post('http://localhost:5000/upload')
.send({ url: url, name: 'test.png' })
.end(callback)

###Viewing Assets

Visit http://localhost:5000/public/images/test.png

###Testing

Run this command with the server started.

jasmine-node spec/

About

Node.JS Static File Server with an API for uploading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published