https://github.com/hypervillain/intercom-interview
Invite any customer within 100km of our Dublin office for some food and drinks on us
https://github.com/hypervillain/intercom-interview
Last synced: 9 months ago
JSON representation
Invite any customer within 100km of our Dublin office for some food and drinks on us
- Host: GitHub
- URL: https://github.com/hypervillain/intercom-interview
- Owner: hypervillain
- License: mit
- Created: 2018-11-22T18:23:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-23T12:26:35.000Z (about 7 years ago)
- Last Synced: 2024-12-08T11:04:50.320Z (about 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# intercom-interview
Invite any customer within 100km of our Dublin office for some food and drinks on us ๐
To run the program:
```
npm start
```
๐Make sure a stable version on nodeJS is installed on your machine.
To test the program:
```
npm run tests
```
Expected output:
```
Ian Kehoe, user_id: 4
Nora Dempsey, user_id: 5
Theresa Enright, user_id: 6
Eoin Ahearn, user_id: 8
Richard Finnegan, user_id: 11
Christina McArdle, user_id: 12
Olive Ahearn, user_id: 13
Michael Ahearn, user_id: 15
Patricia Cahill, user_id: 17
Eoin Gallagher, user_id: 23
Rose Enright, user_id: 24
Stephen McArdle, user_id: 26
Oliver Ahearn, user_id: 29
Nick Enright, user_id: 30
Alan Behan, user_id: 31
Lisa Ahearn, user_id: 39
```
๐Thank you for your time Intercom