You must use the EJS (Embedded JavaScript template) as your template engine.along with express to render the HTML files.
So to use in your application include the below lines in your application.js file
var express = require('express');
var app = express();
app.set("view engine", "ejs");
app.set("views", __dirname + "/views");
app.set("view options", { layout: false } );
app.get('/', function(req, res) {
res.render('index');
});
app.listen(3000);
console.log('listening on port 3000...');
and then create a folder named views under which create a file named "index.ejs"
then start your server with node server.js and type localhost:3000 in the browser