The code here is for an IBM Bluemix-powered demo called the Where? app. It helps to answer the "where" questions of life like where am I?, where can I go?, and where have others been? It is composed of two parts:
- Node.js backend for deployment to Bluemix which:
- Provides a REST API that:
- allows client apps to register a user's geolocation with the server (stored in a Cloudant NoSQL DB)
- retrieves the postal address associated with the location (using Pitney Bowes Reverse Geocoding)
- allows a user to retrieve a “travel boundary” from that location (using Pitney Bowes Travel Boundary)
- provides worldwide statistics for the most commonly “visited” cities (using the map-reduce capabilities of Cloudant).
- Leverages third-party Node modules including:
- Serves static resources (e.g., JavaScript, HTML, and CSS) in support of the web client
- Provides a REST API that:
- Web front-end written as a since-page app and using the following third-party frameworks or components:
A client for the Pebble Smartwatch is available in the separate bluemix-where-pebble repository. That code was written in JavaScript leveraging Pebble.js and using the CloudPebble IDE. Tutorial
A tutorial for using the code in this repository is available on IBM developerWorks:
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.