Tutorials (15)

SSL Lock

Setup A Free SSL Certificate For Your Website With Cloudflare

There are numerous reasons why you should be using SSL on your website or blog. I won’t go through all them but a few reasons include: Protecting user privacy Improved SEO scores Browsers will mark your website as secure Gain customer/reader trust These are just a few but there are several other reasons to be […]




Getting Started with CocoaPods

CocoaPods is a popular dependency management tool for Objective-C projects. It makes life easier for iOS developers by downloading all the third party libraries you want for your project and linking everything so you don’t have to. It’s a huge time saver and helps you keep all your dependencies up to date. Installation CocoaPods runs […]




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




Creating Custom Modules in Node.js

If you’ve been using Node.js, you’ve probably been using modules for some time. A module is basically a javascript file that exposes internally scoped functions using the exports variable. In this tutorial, I’ll show how to create a simple string splitting module to give you a basic understanding. Getting Started Lets start off by creating […]




Emailing in Node.js with Nodemailer

Emailing in Node.js is easy to do with the Nodemailer module. Nodemailer supports plain text content, HTML content, attachments, different transport methods, etc. The official documentation can be found on github. Getting Started Lets start off by creating our directory. mkdir EmailExample cd EmailExample Creating package.json In the EmailExample directory we just created, run npm […]




Events in Node.js

Since Javascript is an event driven language, many objects in Node.js emit events. Events are the important things that make Node.js awesome. There are tons of objects that emit events in node. You can find several examples in the documentation. To access events you need to use require(“events”). I’ve written a sample application that demonstrates […]




Form Validation in Node.js with Express-Validator

I spent a good amount of time scouring the internet for a good form validation tutorial using Node.js. Since I was only able to find one decent tutorial I decide to write my own using express-validator, which is an express.js middleware for node-validator. If your using Node.js and your not using Express then you aren’t […]