'use strict';

exports.getPort = function() {
	return process.env.PORT || 5000;
};

exports.getMongodbUri = function() {
	return process.env.DBCONN || 'mongodb://localhost/wines';
};

'use strict';

exports.getPort = function() {
	return process.env.PORT || 5000;
};

exports.getMongodbUri = function() {
	return process.env.MONGOLAB_URI || 'mongodb://localhost/wines';
};

add heroku database url