/ptz-core-repository

MongoDB core Polutz repository

Primary LanguageTypeScriptMIT LicenseMIT

ptz-core-repository

Codacy Badge Build Status codecov.io Dependency Status bitHound Score MIT license

ptz-core-repository is a Polutz module.

Prerequisites

NPM Global packages

    npm install -g ts-node

Setup

    npm install   

Test

We use docker to run the tests against a real MongoDB database. If you are using Windows you don't need 'sudo', you can remove it.

    sudo docker-compose up -d

Replace CONTAINER_NAME with the output of the last cmd.

    sudo docker exec CONTAINER_NAME npm test