Skip to content

kevindels/background-geolocation-console

 
 

Repository files navigation

Background Geolocation Console

A simple Node server & web app with SQLite database for field-testing & analysis of the Background Geolocation plugin.

Running

You must have npm installed on your computer. From the root project directory run these commands from the command line:

npm install

This will install all dependencies.

To build the project, first run this command:

npm start

This will perform an initial build and start a watcher process that will update bundle.js with any changes you wish to make. This watcher is based on Browserify and Watchify, and it transforms React's JSX syntax into standard JavaScript with Reactify.

To run the app in your browser, boot the web server

node server.js

Now visit http://localhost:8080

Configure The Sample App

The Background Geolocation Sample App is perfect for use with this web-application. To configure the app, simply edit Settings->url and set it to http://<your.ip.ad.dress>:8080/locations.

You should also configure Settings->autoSync to false while out field-testing as well, so that the app doesn't try syncing each recorded location to the server running on your localhost. Once you return after a test and you're back on your office Wifi, click the [Sync] button on the Settings screen to upload the cached locations to the Background Geolocation Console server.

Credit

Chris Scott of Transistor Software

License

BSD-licensed.

About

A field-testing & analysis server for the Background Geolocation plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 59.9%
  • JavaScript 39.2%
  • HTML 0.9%