Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A template for quickly building login systems on top of Node.js & MongoDB
JavaScript HTML CSS
Branch: master

readme.md

Node-Login

A basic account management system built in Node.js with the following features :

  • New User Account Creation
  • Secure Password Reset via Email
  • Ability to Update / Delete Account
  • Session Tracking for Logged-In Users
  • Local Cookie Storage for Returning Users
  • Blowfish-based Scheme Password Encryption

Node-Login is built on top of the following libraries :


Installation & Setup

  1. Install Node.js & MongoDB if you haven't already.
  2. Clone this repository and install its dependencies.

    > git clone git://github.com/braitsch/node-login.git node-login
    > cd node-login
    > npm install -d
    
  3. (Optional) Add your gmail credentials to /app/server/modules/email-settings.js if you want to enable the password retrieval feature.

  4. In a separate shell start the MongoDB daemon.

    > mongod
    
  5. From within the node-login directory, start the server.

    > node app
    

A Live Demo and some thoughts about the app's architecture.

For testing purposes, I've provided a database dump of all accounts here.
Please note this list and the entire database automatically resets every 24 hours.

Questions and suggestions for improvement are welcome.

Something went wrong with that request. Please try again.