mirandaflu / customer-records

Home Page:https://mirandaflu.github.io/customer-records/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customer Records

We have some customer records in a text file (customers.txt) -- one customer per line, JSON lines formatted. We want to invite any customer within 100km of our Dublin office (53.339428, -6.257664) for some food and drinks on us. Write a program that will read the full list of customers and output the names and user ids of matching customers (within 100km), sorted by User ID (ascending).

To run this project (using npm)

git clone git@github.com:mirandaflu/customer-records.git
cd customer-records
npm install
npm start

To run tests

npm run test

About

https://mirandaflu.github.io/customer-records/


Languages

Language:JavaScript 85.7%Language:CSS 10.8%Language:HTML 3.5%