express view engine', 'ejs
snippet in javascript

express view engine', 'ejs

user228

app.set("view engine", "ejs");
app.set("views", path.join(__dirname, "views"));