var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.status(200).send('This is the Journey app.');
});

module.exports = router;

var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.status(200).json({
    success: true,
    message: 'This is the Journey API.'
  });
});

module.exports = router;

Update default response on root API endpoint
Update default response on root API endpoint
