Giter Site home page Giter Site logo

gpstracker's Introduction

gpstracker

A proof of concept GPS tracker app intended to be used in conjunction with https://github.com/davidkellis/arduinotracker.

This app is the server side location tracking app, and https://github.com/davidkellis/arduinotracker is the GPS coordinate updater app.

Setup

  1. Install node.js
brew install node
  1. Install dependencies
npm install
  1. Configure the application by setting the appropriate values in the config/config.js file.

Using config/config.sample.js as a template, save a copy as config/config.js, and then replace the config.web.port with the desired server port, and replace the config.mapbox.accessToken with a mapbox.com access token that belongs to you (you need to go register for an account at mapbox.com in order to get an API access token).

  1. Run server application
node app.js
  1. Configure your tracking device (i.e. the device that the target carries in order to track their GPS coordinates) to periodically make a GET request to your server at the URL: http://yourserverIP:3000/checkin/[target ID]/[LATITUDE]/[LONGITUDE]

For example, the tracker device might publish to http://yourserverIP:3000/checkin/123/[LATITUDE]/[LONGITUDE]

  1. Open the webapp in a web browser that supports location tracking (e.g. on your phone).

For example, in Chrome or Firefox, navigate to http://yourserverIP:3000/track/123, to track the location of target 123.

gpstracker's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.