Thanks to visit codestin.com
Credit goes to github.com

Skip to content

williamchu123/accountManager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#[accountManager.js 0.1]

####A simple module to add a simple account management API and user model to your project, with multiple databases supported:

accountManager.js

  • couchDB
  • redis
  • riak
  • mongo (planned)
  • postgres (planned)
  • ....and any others people would like to add (submit pull requests!)

####The following features are included:

  • New User Account Creation
  • Secure Password Reset via Email (using the hash and the email address)
  • Ability to Update / Delete Account
  • Blowfish-based Scheme Password Encryption (only stores hashes in database)
  • Get user information by username or password
  • Log in with a hash (cookie) or with the plaintext password

####accountManager.js is built on top of the following libraries :

####Installation & Setup This assumes you already have node.js, npm, and different databases installed.

  1. Put a config.json in the root folder of the module, check the tests, until I can write some good documentation the test file is the best bet
{
	"type": "couch",
	"database_name": "YOUR DB NAME",
	"couch_host": "http://USER:PASS@HOST:PORT",
  	"couch_user": "USER",
  	"couch_pass":"PASS",

}

About

dead simple node.js account manager

Resources

Stars

Watchers

Forks

Packages

No packages published