Check out my recent post on authenticating Node.js applications with
Passport on Tuts+
here. It assumes a basic understanding of Node.js and Mongo but we start by building an Express application from scratch and add new routes, views & authenticate them via Passport.