Skip to content

Instantly share code, notes, and snippets.

View Mike-Loffland's full-sized avatar

Loff Mike-Loffland

  • Norman, OK
View GitHub Profile
@Mike-Loffland
Mike-Loffland / gist:dd3827e3460f35f94c60
Created March 26, 2015 16:28
Setting up a server using Node, Express, and Deployd
var settings = {
host: 'localhost',
httpPort: 4321,
depPort: 27017,
depDBname: 'deployd-dbName'
};
// setup http + express + socket.io
var express = require('express');
var deployd = require('deployd');