sideshowcoder / canned

Server to respond with fake API responses, by using a directory of files for finding out what to say!
213 stars 46 forks source link

Integrate with express #29

Open sideshowcoder opened 10 years ago

sideshowcoder commented 10 years ago

Not sure what we need todo here but it would be nice if it could be easily integrated with express during testing / development. Something like

var app = express()
app.configure("development", function() {
  express.use(canned("./"))
})

Would be awesome.