npm install -g tehuti
tehuti init myproject
script
module.exports = function(app) {
app.get('/', function(req, res) {
res.send('Hello, Tehuti!');
});
};
script
app.use(function(req, res, next) {
next();
});
html
<h1>Welcome, <%= user.name %>!</h1>
<p>Your email is <%= user.email %>.</p>