Closed etagwerker closed 10 years ago
Awesome! I'll review this in the next few days
@untoldone I am open to suggestions. I know that there is plenty of room for improvement.
For instance, I've added database.json
which duplicates the configuration inside config.js
- I did this because I like the idea of separating databases in environments, the way db-migrate
does.
Let me know.
Some feedback:
Thanks for the patch, but this no longer makes sense given the recent rewrite for v0.2.0
Hey!
This is my attempt to add geocoded locations to the BloomAPI.
For now, it just focuses on gathering the latitude and longitude inside the new
provider_business_practice_locations
table, which uses thenpi
column as primary key.I've added an
INSTALL.md
to have more precise installation details (It's based on http://www.bloomapi.com/contribute)By default, it uses
mapquest
although that could be easily changed to use other services supported by https://npmjs.org/package/node-geocoderThis pull request is based on issue #48 and not complete yet. It should also modify the API search mechanism to allow a user to search using a geographic point and a miles radius.
Please review the code and let me know if this is what you had in mind.
Thanks!