As most of you know, we've been working to build out the jive-sdk for purposeful places using node.js. This SDK is available in our github and you can start using it now.

The other day, I tweeted about checking out nodefly and adding this to some of the samples that we've been building.

When you log in to nodefly, this is what you see:



Huh. This looks caveman simple. No offense geiko. So I figured I'd try it out and see if it really is that easy to get going. So, as the first step, I grabbed the salesforce example that we've got with the jive-sdk. This was already up and running, so I just had to plugin the nodefly helpers. I added nodefly as a dependency in the package.json, then updated app.js. Here's my app.js (for brevity I've removed some of the comments). All I had to do was add lines 1-4.

    '64eb..........ba2', //app has the key in it.
var express = require('express'),
    http = require('http'),
    https = require('https'),
    fs = require('fs'),
    jive = require('jive-sdk');
var app = express();
var failServer = function(reason) {
    console.log('FATAL -', reason );
var options = {
    key: fs.readFileSync('key.pem'),
    cert: fs.readFileSync('cert.pem')
var startServer = function () {
    var server = https.createServer(options, app).listen( app.get('port') || 8090, function () {
        console.log("Express server listening on port " + server.address().port);
.then( function() { return jive.service.autowire() } )
.then( function() { return jive.service.start() } ).then( startServer, failServer );

Next, I started the app. Once I did, I went back to my nodefly. Sure enough, it recognized my app was running and took me right to the monitoring dashboard.



Sweet. That was easy. And simple. And AWESOME!!! Now, we're still new to node and especially to nodefly, so we don't really know how and what to monitor (aside from the obvious), or the full capability of nodefly. That said.... It took me longer to write this blog than monitor my application.