Name: bedrock-session-mongodb
Owner: Digital Bazaar, Inc.
Description: Bedrock session support via mongodb
Created: 2015-01-14 16:04:33.0
Updated: 2016-03-03 15:19:51.0
Pushed: 2016-09-28 02:25:19.0
Homepage: null
Size: 31
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A bedrock module that enables express session storage via MongoDB.
install bedrock-session-mongodb
Simply require the bedrock-session-mongodb
module along with the
bedrock-express module and then any express session information will
be persisted via MongoDB.
bedrock = require('bedrock');
odules
ire('bedrock-server');
ire('bedrock-express');
ire('bedrock-session-mongodb');
ock.events.on('bedrock-express.configure.routes', function(app) {
p.get('/', function(req, res) {
res.send('Hello World!');
;
ock.start();
For documentation on configuration, see config.js.