var express = require('express')
var app = express()

app.set('port', (process.env.PORT || 5000));

app.get('/', function (req, res) {
    res.send('REcardo')
})

app.listen(app.get('port'), function() {
    console.log('REcardo is running on port', app.get('port'));
});

var express = require('express')
var app = express()

app.set('port', (process.env.PORT || 5000));

app.get('/', function (req, res) {

    var trello; // will contain auth stuff
    var reqs = [
        'TRELLO_KEY',
        'TRELLO_TOKEN',
        'TRELLO_BOARD'
    ]

    for(r in reqs) {
        if (process.env[reqs[r]]) {
            // save it into `trello`
        } else {
            // return an error
            res.status(500).send(reqs[r] + ' not set')
            return
        }
    }

    res.send('REcardo')

})

app.listen(app.get('port'), function() {
    console.log('REcardo is running on port', app.get('port'));
});

Add some logic to print out unset environment variables
Add some logic to print out unset environment variables

The Trello calls won't be able to work unless they can get the key,
token and board from environment variables.  In case they haven't been
set, the page will say so, so it's easier to figure out why it's not
working.
