/passport-auth-example

The most widely used way for websites to authenticate users is via a username and password. Support for this mechanism is provided by the passport-local module.

Primary LanguageJavaScript

N.B.: За репозиторием не слежу, pull-request'ы принимаю не глядя.

How to

  1. Launch mongod
  2. Install all dependencies by npm i
  3. Launch app by NODE_ENV=development node app.js
  4. ...
  5. Profit

http://habrahabr.ru/post/201206/