/*
 * Controllers
 */

var homeController = require('../controllers/home_controller');
var authController = require('../controllers/authentication_controller');

/*
 * Routes
 */

module.exports = function(app, passport){

  var authenticate = authController.setUp(authController, passport);

  app.get('/', homeController.index);

  app.post('/login', authenticate);
  app.get('/logout',authController.logout);

};

@@ -27,32 +27,35 @@
  homeController 
+   
 = require('../co
@@ -83,16 +83,86 @@
 ller');%0A
+var pivotalController = require('../controllers/pivotal_controller');%0A
 var auth
@@ -164,32 +164,35 @@
  authController 
+   
 = require('../co
@@ -457,16 +457,17 @@
 logout',
+ 
 authCont
@@ -483,11 +483,70 @@
 gout);%0A%0A
+  app.get('/api/v1/projects', pivotalController.projects);%0A
 %7D;%0A

Build route for projects api