the myspots nodejs app
As we walk around the world, I would like to describe my favorite spot by highlighting something that I find is special.
Here is a list of features that this application will provide. More or less a list of APIs that the application can receive and send via GET, POST, and DELETE.
To create a spot, you need the following:
- Geo coordinates (long,lat)
- Name of spot
- Special feature description
To list spots, you need the following:
- Current location
- Radius limit
To list one spot, you need to POST:
- ID of spot
When looking for directions from your current location to a spot, you need to POST:
- Current location
- ID of spot for destination
- Name of spot
I have chosen Mocah for the testing framework (until something else looks better).
To run the tests, type the following into your terminal at the root level of this project:
mocah
Here is a list of resources that we might need to use for reference:
- https://developers.google.com/maps/documentation/geocoding/#Geocoding
- http://nodejs.org/
- http://docs.mongodb.org/manual/applications/geospatial-indexes/
- http://www.yelp.com/developers/documentation/v2/search_api
- https://nodejsmodules.org/pkg/mocha
- http://visionmedia.github.io/mocha/
- https://help.github.com/articles/github-flavored-markdown
- design schema
- add express files
- add tests for adding a spot
- add tests for listing spots
- add tests for removing spots