a sample API endpoint that determines the nearest pharmacy from a given latitude and longitude
- node.js
- clone project
- navigate to folder in terminal and run the command "node main.js"
- open a broswer and visit localhost:3000/nearestpharmacy?latitude=x&longitude=y
- the response will contain a JSON object with the closest pharmacy in the database