Raj Singh November, 2014
This is a tutorial on how to build a mobile app in HTML5 and Javascript that records a device’s location and saves the location data to IBM's Cloudant JSON database service. A simple mapping client using Leaflet is also described.
UPDATE June, 2016: We have several sample apps covering location tracking with Cloudant. Use the one that fits your coding needs best. There's a bare-bones couchapp, one for Angular (version 1)/NodeJS developers, and the latest using Swift/iOS on the client-side with a NodeJS back-end.
The code for this tutorial is organized into a CouchApp (as described in the tutorial), so all the web files are in the _attachments directory.
An extensive tutorial describing the app may be found in the tutorial directory.
MIT.