Mar 30, 2014

How to create a login in Node.js with PassportJS and MongoDB?


In this post we will create a very simple login system in Node.js & Express with the help of PassportJS. We also need the help of Mongoose to access databases created in MongoDB.

Passport is authentication middleware for Node.js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application. A comprehensive set of strategies support authentication using a username and password, Facebook, Twitter, and more.

Mar 12, 2014

How to create a Session Variable in Node.js & Express?



In this post we will create a session variable that would allow us to access a website through a password. It's simple and only ones programs we need to have installed on our computer are Node.js and Express. If you do not have installed you can see how to do it here:


Mar 9, 2014

How to make a project with Node.js & MongoDB (CRUD) - Part 2 (Update and Delete)



In this post we will continue the previous project in which we were creating a CRUD application with Node.js and MongoDB, helped with the Express framework and Mongoose libraries to read and write data. Now we will see how this information can be updated or deleted


Mar 5, 2014

How to make a project with Node.js & MongoDB (CRUD) - Part 1



In this tutorial we will create a simple CRUD application (Create, Read, Update & Delete) with Node.js and MongoDB. We will use the Express framework and support of libraries Mongoose to handle MongoDB databases.


Mar 2, 2014

How to create a simple chat with Node.js, Express and Socket.io

In this post we will learn how to create our first chat, it is very easy. We need to have installed Node.js and Express. If you don't have it, you can see how do it in this post:

Node.js -> How install Node.js?

Express -> First project with Express and Node.js

Now, we are ready to creating our chat.