router = require("express-promise-router")() router.get "/", (req, res) -> res.render "layout" router.get "/node/:uuid", (req, res) -> res.json {"uuid": req.params.uuid} router.get "/test1", (req, res) -> res.send "test ONE go to 2 instead or in a new window" router.get "/test2", (req, res) -> res.send "test TWO go to 1 instead or in a new window" module.exports = router