text: // var express = require('express'),
  //   app = express(),
  //   port = process.env.PORT || 3000;
  
  // app.listen(port);
  
  // console.log('todo list RESTful API server started on: ' + port);
  
  var express = require('express'),
    app = express(),
    port = process.env.PORT || 3000;
    bodyParser = require('body-parser');
  
  app.use(bodyParser.urlencoded({ extended: true }));
  app.use(bodyParser.json());
  
  var routes = require('./app/routes/todoListRoutes'); //importing route
  routes(app); //register the route
  app.listen(port);
  
  console.log('todo list RESTful API server started on: ' + port);
  