Using Nunjucks to populate dynamic HTML data from JSON and route to page using Express
Run the below command to install dependent modules (UIKit
, nunjucks
and nunjuksIncludeData
)
$ npm install
Run the below command to view the page up and running on HTTP server on the port 8080
.
$ node main.js
To modify the port where the page is to be displayed, modify main.js
file