Blog

Archive for the Node.js Category


Passing An Array of Objects to a View Using Express Handlebars and Control Structures in the View
Posted on August 6, 2016 in Node.js by Matt Jennings

// Module that deals with routing and
// “require” loads an additional library
var express = require(‘express’);

// Express handlebars module
var exphbs = …

Read more


Minimum JS Required to Get Express Handlebars Running for Node.js
Posted on August 6, 2016 in Node.js by Matt Jennings

Install the following modules, using the commands below and pressing Enter after each one:
npm install express –save
npm install express-handlebars –save
npm …

Read more


Using express and express-handlebars Modules to Object Properties to a Handlebar Template
Posted on June 20, 2016 in Node.js by Matt Jennings

app.get(‘/tester’, function(req, res) {
// Below I’m passing in a JSON object (or hash table of keys …

Read more


Basic Node.js Code for the express-handlebars Module
Posted on June 20, 2016 in Node.js by Matt Jennings

Steps:

To install the express-handlebars module, in your shell navigate to your root directory and type in the three …

Read more


Setting Up a Basic Node.js Workspace on Cloud9
Posted on May 26, 2016 in Node.js by Matt Jennings

Cloud9 (c9.io) is an online service that can be used to quickly create websites in various languages and …

Read more