import express from 'express';
import path from 'path';

let router = express.Router();

router.get('/', (req, res) => {
  console.log('woop');
});

export default router;

@@ -120,26 +120,44 @@
 %7B%0A  
-console.log('woop'
+res.json(%7B%0A    greeting: 'hello'%0A  %7D
 );%0A%7D

Use sane defaults for main route