Skip to content

cantina/cantina-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cantina-mongo

MongoDB for Cantina applications

Provides

  • app.mongo - an initialized MongoDB object

Configuration

  • mongo - Options for creating the MongoDB client
    • hosts - String or Array of host[:port] combinations. port is optional. (default: localhost:27017)
    • db - String name of the database (default: cantina)
    • auth - Object hash containing username and password (default: none)
    • options - Object hash of connection specific options (default: none)

Defaults

{
  mongo: {
    hosts: 'localhost:27017',
    db: 'cantina'
  }
}

Developed by TerraEclipse

Terra Eclipse, Inc. is a nationally recognized political technology and strategy firm located in Santa Cruz, CA and Washington, D.C.