Skip to content

paveltyavin/gps-web-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#GPS web-tracker for many devices.

  • Simple
  • Based on socket.io and Yandex maps.
  • No database, no jquery. Js script minified and gzipped is only 16 Kb.
  • Server accepts json messages through tcp like {id:1, lat:10, lng:20}. For devices to send these messages you can use translator server.

#Installation

  • Clone repository to your server.
  • Install nodejs on your server.
  • Execute npm install, then bower install, then grunt.
  • Point your nginx/apache to ./build root. There
  • Create files browser/config.js, server/config.js,

#How does it work

                   {id:1,lat:20,lng:30}                          {id:1,lat:20,lng:30}
Translator server ---------------------> GPS web-tracker server ---------------------> Browser
                      JSON over TCP                                    socket.io

#What is translator server?

Cause each tracker device has its unique protocol to send gps information, there should be a translator server to decode messages from devices and send it in JSON format. The project is hosted here: http://github.com/vinograd19/gps-devices/