Where am I? Where can I go? Where have I been? In this tutorial, you’ll build a client/server app that answers these and other “where” questions for web users and for wearers of the Pebble smartwatch.
- Register a user’s geolocation with the server, to be stored in a Cloudant NoSQL database.
- Get the nearest postal address associated with the location by using the Pitney Bowes Reverse Geocoding service (UPDATE: now part of the APIs from Pitney Bowes service). This service provides a powerful API for looking up postal addresses based on GPS location.
- Retrieve information about where someone could travel from a location, by using the Pitney Bowes Travel Boundary service. This service provides GPS coordinates for a “boundary” around a specified location that can be reached based on driving time or distance.
- Provide worldwide statistics for recent and popular “check-in” locations (using the MapReduce capabilities in Cloudant).
Then, you’ll use this REST API as the basis for building two very different client apps:
- A responsive, single-page web app that is implemented by using AngularJS, Bootstrap, and Leaflet.js and provides extensive, rich content.