var express = require('express');
var app = express();
// var routes = require('./routes');

app.set('view engine', 'ejs');
app.set('views', 'templates');

app.use('/public', express.static('public'));

process.on('uncaughtException', function(err) {
  console.log("Error: " + err);
});

// app.use('/', routes);

app.get('/', function(req, res){
  res.send("derp");
});

app.get('/about', function(req, res) {
  var title = "About";
  var content = "<p>ZotScheduler is a tool that generates class schedules for students. Eventually, this about page will be more interesting. Developed by David Legg and Alex I. Ramirez.</p>";
  res.render('main', {
      title:title,
      content:content
  });
});

app.get('/help', function(req, res) {
  var title = "Help";
  var content = "<p>Instructions to come.</p>";
  res.render('main', {
      title:title,
      content:content
  });
});



var server = app.listen(process.env.PORT || 8080, function () {
   var host = server.address().address
   var port = server.address().port
   
   console.log("API listening at http://%s:%s", host, port)
});
@@ -346,23 +346,111 @@
 %7B%0A  
-res.send(%22derp%22
+var content = %22%3Cp%3EZotScheduler is coming soon...%3C/p%3E%22;%0A  res.render('main', %7B%0A      content:content%0A  %7D
 );%0A%7D

Index placeholder