Mac OS X (3)


A Sample App with Node.js, Express and MongoDB – Part 2

In my last post, we created a simple Employee database using Node, Express and MongoDB. In this tutorial, we’ll add the ability to edit and delete employees. Edit an Employee The first thing we need to do is add additional functions to employeeprovider.js. employeeprovider.js //find an employee by ID EmployeeProvider.prototype.findById = function(id, callback) { this.getCollection(function(error, […]




A Sample App with Node.js, Express and MongoDB – Part 1

In this post, we’re going to be creating a simple Employee database using Node, Express and MongoDB. By the end of this tutorial, you should be able to save a new employee and display all saved employees. Getting Started MongoDB Installation and configuration of MongoDB is beyond the scope of this post. You can download […]



Getting Started with Node.js on Mac OS X

This is a step-by-step process on installing Node.js on Mac OS X. There are several “getting started” tutorials online but I didn’t find much on Mac OS X. The ones I did find were a little confusing since I had no previous experience with Node.js. At the time of this tutorial, I’m running OS X […]