var express = require('express');
var app = express();
var path = require("path");
var bodyParser = require("body-parser");
var mongoose = require("mongoose");
//var db = require('./models'); TODO

///set app dependencies
app.set('view engine', 'ejs')
app.use("/static", express.static("public"));
app.use(bodyParser.urlencoded({ extended: true }));

//start server
app.listen(process.env.PORT || 5000, function (){
  console.log("listening on port 5000");
});

app.get("/", function (req, res){
  res.send('We be jammin!')
});

@@ -455,16 +455,29 @@
 );%0A%7D);%0A%0A
+//root route%0A
 app.get(
@@ -530,12 +530,545 @@
 mmin!')%0A%7D);%0A
+%0A//login check%0Aapp.get('/users', function(req, res)%7B%0A  res.send('you just logged in');%0A%7D);%0A%0A//create a new user%0Aapp.post('/users', function(req,res)%7B%0A  res.send('User Posted')%0A%7D);%0A%0A//view all to-dos%0Aapp.get('/list', function(req,res)%7B%0A  res.send('this is where your posts will live')%0A%7D);%0A%0A//add a new todo%0Aapp.post('/list', function(req,res)%7B%0A  res.send('you just created a new todo')%0A%7D)%0A%0A//remove a todo item from a user%0Aapp.delete('/list/:id', function(req,res)%7B%0A  id = req.params.id;%0A  res.send('you just deleted post: ' + id)%0A%7D)%0A

set up initial server routes