Socket
Socket
Sign inDemoInstall

backside-mongo-store

Package Overview
Dependencies
43
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    backside-mongo-store

A mongo backed store for backside


Version published
Weekly downloads
11
increased by450%
Maintainers
2
Install size
12.4 MB
Created
Weekly downloads
 

Readme

Source

backside-mongo-store

A store for backside that uses mongo

Configuration

This store takes a few options:

new MongoStore(mongodbUri, [opts])

Where opts is:

{
  collection: "backside", // the name of the collection to use for backside
  privateCollection: "private" // the name of the collection for private data
}
// this same opts array is also passed to the mongo driver, so all those are available as well

Configuration via environment variables

This can also be configured via environemt variables

MONGODB_URL=mongodb://myhost/db
MONGODB_COLLECTION=collectionName
MONGODB_PRIV_COLLECTION=collectionNameForPrivateData

Keywords

FAQs

Last updated on 17 Jun 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc