Mini JS TDD ES6 Project

This is a lightweight nodejs es6 project with TDD tools. Stack: express, mocha, chai, mongoose, mongo memory server it exposes endpoints to

  • add streets to street objects in an in-memory database and exposes api to return
  • a list of streets
  • distance between two points

How to setup

Download and unzip the project Navigate into the folder and run

npm install

How to run

Run npm start to start the project

npm start

How to test

Run npm test to run tests for the project

npm test