MongoDB (4)

Learn Node.js – A List of Resources for Beginners

Here’s an awesome list of Node.js resources for those interesting in taking the dive into the world of Node. A big thanks to @rockbot for putting this list together and to all those who contributed… including myself. 😉 https://github.com/rockbot/node-for-beginners Go forth, young padawon, rely on your training and you will succeed!




Getting Started with Mongoose and Node.js – A Sample Comments System

In this post, we’re going to be creating a sample comments system using Node, Express and Mongoose. Mongoose provides an object oriented interface for using MongoDB in Node. Everything in Mongoose starts with a Schema. Each schema maps to a MongoDB collection and defines the shape of the documents within that collection. If you are […]




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 […]