text: var express = require('express'),
    app = express(),
    port = 3000;
  
  app.use(express.static('public'));
  
  var routes = require("./api/routes");
  routes(app);
  
  if (! module.parent) {
    app.listen(port);
  }
  
  console.log("hey");
  
  module.exports = app
  
  console.log("Server running on port " + port);
  