0x6165726F78 / Haversine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripts

[./src/find-people.js]:

Script that finds all the customers within 100km of Bristol who live in England. Part of the data of the customers found is saved in "./src/people-found.json".

[./src/find-avg-value.js]:

Script that finds the average customer value of all people living within 200km of Bristol. The value found it's simply logged.

Get it running on your machine

  • Run npm install to install dependencies
  • Run one of the existent scripts npm run find-people or npm run find-avg-value
  • Run the tests npm run test

Major technologies used

  • jest
  • joi

About


Languages

Language:JavaScript 100.0%