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

Directory Structure Image with the Node Modules Below Installed in the node_modules directory:

body-parser
ejs
express
mongoose

/package.json

{
“name”: “modularized-mongoose-dashboard”,
“version”: “0.0.1”,

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

server.js Example

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

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

// Require
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

server.js Example

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

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

// Require
Read more…

To Top ↑