用户 Node.js 中的 用户管理系统 安装:

$ npm install git+https://github.com/avinoamr/users --save

服务器有关运行示例,请参阅 server.js


var express = require(\"express\");

var session = require(\"express-session\");

var allow = require(\"connect-allow\");

var backsync = require(\"backsync\");

var users = require(\"users\");

// this module uses Backbone Models

// define a sync method (or use backsync) to implement