Skip to content

A bits module that provides a mongodb to the system. This module also provides bits apis for interacting with the database.

License

Notifications You must be signed in to change notification settings

Axios-Engineering/bits-mongodb

 
 

Repository files navigation

MongoDB

A thin wrapper for the MongoDB Nodejs driver. TESTTESTTEST

Installation

This module requires the latest available mongodb. Instructions to install the latest are available here. This gist of guide boils down to these commands:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
# Ubuntu 14.04
echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
# Ubuntu 16.04
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update
sudo apt-get install -y mongodb-org

API

See ./lib/messengers/collection-api.js for the raw driver api See ./lib/helpers/mongodb-crud-manager.js for the crud manager helper.

About

A bits module that provides a mongodb to the system. This module also provides bits apis for interacting with the database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 85.0%
  • HTML 15.0%