text: var express = require("express");
  var router = express.Router();
  var db = require("../models");
  var helpers = require("../helpers/todo");
  
  router.route("/")
  .get(helpers.getTodos)
  .post(helpers.createTodo);
  
  router.route("/:todoid")
  .get(helpers.getTodo)
  .put(helpers.updateTodo)
  .delete(helpers.deleteTodo);
  
  
  module.exports = router;