Skip to content

Instantly share code, notes, and snippets.

@glynnbird
Created November 16, 2016 15:14
Show Gist options
  • Save glynnbird/c48824d3f6e35677c7d81ebd872e359b to your computer and use it in GitHub Desktop.
Save glynnbird/c48824d3f6e35677c7d81ebd872e359b to your computer and use it in GitHub Desktop.
Cloudant Envoy Twitter authentication - stage 1
// setup Envoy to serve out our static files
var opts = {
static: require('path').join(__dirname, './public')
};
// start up the web server
var envoy = require('cloudant-envoy')(opts);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment