Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psirenny/connect-derby
Derby session store for Connect.
https://github.com/psirenny/connect-derby
Last synced: 24 days ago
JSON representation
Derby session store for Connect.
- Host: GitHub
- URL: https://github.com/psirenny/connect-derby
- Owner: psirenny
- License: mit
- Created: 2014-04-28T01:42:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-28T02:22:30.000Z (over 10 years ago)
- Last Synced: 2024-09-21T14:19:55.619Z (3 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-derby - connect-derby - Derby session store for Connect (Information)
README
connect-derby
=============Derby session store for Connect.
[![Build Status](https://travis-ci.org/psirenny/connect-derby.png?branch=master)](https://travis-ci.org/psirenny/connect-derby)Installation
------------$ npm install connect-derby
Usage
-----var derby = require('derby');
var express = require('express');
var DerbyStore = require('connect-derby')(express)
var app = express();...
var store = derby.createStore({
db: {db: mongo, redis: redis}
});...
app.use(express.session({
secret: 'APP SECRET',
store: new DerbyStore({store: store})
}))Options
-------- `collection` Collection (optional, default: `sessions`)