ptz-core-repository is a Polutz module.
- Node.
- Docker Compose (for tests). https://docs.docker.com/compose/install/
npm install -g ts-node
npm install
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