/express-template-demo

Demo of using template engines with express.js and node.js

Primary LanguageJavaScript

Express Template Demo

A simple demo of using ejs and dustjs-linked template engines for your views in Express 3.x.

More info

Dependencies

see package.json

Installing app

git clone https://github.com/chovy/express-template-demo.git
cd express-template-demo/demo 
npm install
node app.js

Edit the template_engine variable in app.js to either 'dust' or 'ejs'. Edit the hostname variable in app.js to localhost or something else.

Start the app with 'node app.js'