• Public
  • Public/Protected
  • All


Pip.Services Logo
Pip.Services MongoDB components for Node.js

This module is a part of the Pip.Services polyglot microservices toolkit.

The MongoDB module simplifies how we work with Mongo databases and contains everything you need to start working with MongoDB.

This module contains the following packages:

  • Build - contains a factory for creating MongoDB persistence components.
  • Connect - instruments for configuring connections to the database. The component receives a set of configuration parameters and uses them to generate all necessary database connection parameters.
  • Persistence - abstract classes for working with the database that can be used for connecting to collections and performing basic CRUD operations.

Quick links:


Install the NPM package as

npm install pip-services3-mongodb-node --save


For development you shall install the following prerequisites:

  • Node.js 8+
  • Visual Studio Code or another IDE of your choice
  • Docker
  • Typescript

Install dependencies:

npm install

Compile the code:


Run automated tests:

npm test

Generate API documentation:


Before committing changes run dockerized build and test as:



The library is created and maintained by Sergey Seroukhov.

The documentation is written by Mark Makarychev.

Generated using TypeDoc