Blog

Archive for the Node.js Category


Compiling Sass Using the node-sass Node Package on a Mac
Posted on March 8, 2016 in Node.js, Sass by Matt Jennings

Steps:

First, install Node.js and NPM if you have not already done so.
Open up Terminal, type in cd, …

Read more


CRUD (Create, Read, Update, Delete) with Modularized Node.js, MongooseJS, and MongoDB
Posted on July 22, 2015 in MongoDB, Node.js by Matt Jennings

body-parser
ejs
express
mongoose

{
“name”: “modularized-mongoose-dashboard”,
“version”: “0.0.1”,
“description”: “modularized mongoose dashboard using node.js”,
“license”: “MIT”,
“repository”: …

Read more


Using MongooseJS to Create Associations Among MongoDB Collections
Posted on July 21, 2015 in MongoDB, Node.js by Matt Jennings

Below is example code using MongooseJS, other Node.js modules, and a MongoDB database to …

Read more


Push Form Post Data, Including a Date, into a MongoDB Database Using the MongooseJS exec() Function
Posted on July 20, 2015 in MongoDB, Node.js by Matt Jennings

// Require path
var path = require(“path”);

// Requite express and create express app
var express = require(“express”);
var app = express();

// Require body-parse …

Read more


Using Mongoose with Node.js to Add Documents into a MongoDB Collection and For Loops to Display Document Fields
Posted on July 20, 2015 in MongoDB, Node.js by Matt Jennings

// require path
var path = require(“path”);

// require express and create express app
var express = require(“express”);
var app = express();

// Require body-parser …

Read more