Node.JS web application for GPS tracking
 
 
 
 
Go to file
Keith Irwin e856d37154
Updated license
2017-04-12 14:40:56 -04:00
config Added formatting to push footer to bottom 2017-04-12 14:32:28 -04:00
static Added formatting to push footer to bottom 2017-04-12 14:32:28 -04:00
views Added formatting to push footer to bottom 2017-04-12 14:32:28 -04:00
LICENSE.md Updated license 2017-04-12 14:40:56 -04:00
README.md Updated license 2017-04-12 14:40:56 -04:00
account.html Added files for new login 2017-04-11 21:38:07 -04:00
package.json Fixed settings form styles 2017-04-09 23:40:08 -04:00
server.js Added ability to change password 2017-04-12 13:41:27 -04:00
test.js Many fixes, added emailing capability 2017-04-10 03:00:56 -04:00

README.md

Tracman

v 0.5.1

node.js application to display a map with user's location.

Installation

$ git clone https://github.com/Tracman-org/Server.git && (cd Server && exec npm install)

You will need to set up a configuration file at config/env.js. It should contain the following information:

'use strict';

module.exports = {

	mode: 'development', // or 'production'
	
	// Random strings to prevent hijacking
	session: 'this is a secret',
	cookie: 'shhhhh',
	
	// Client IDs for authentication
	googleClientId: '############-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com',
	googleClientSecret: 'XXXXXXXXX_XXXXXXXXXXXXXX',
	facebookAppId: 'XXXXXXXXXXXXXXXX',
	facebookAppSecret: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
	twitterConsumerKey: 'XXXXXXXXXXXXXXXXXXXXXXXXX',
	twitterConsumerSecret: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
	
	// A google maps API key
	googleMapsAPI: 'XXXXXXXXXXXXXXX_XXXXXXXXXXXXXXXXXXXXXXX',
	
	// Location of your mongoDB
	mongoSetup: 'mongodb://localhost/tracman',
	
	// URL and port where Tracman will be run. 
	url: 'http://localhost:8080',
	port: 8080
	
};

Use config/env-sample.js for help.

You can get API keys at the google developer's console. You will need to set up approved hosts and auth callbacks. There is more information in their documentation.

Running

$ node server.js

or

$ npm start

Contributing

Tracman will be updated according to this branching model.

Changelog

v 0.5.1

  • Fixed broken controls

v0.5.0

  • Updated libraries
  • Fixed recognition of attached clients #34
  • Moved socket.io code to own file.
  • Many minor fixes

v0.4.3

  • Fixed memory store #21

v0.4.2

  • Fixed Streetview covering buttons
  • Fixed error when viewing map of nonexistant user

v0.4.1

  • Users can view/change email address
  • Added linked accounts to admin

v0.4.0

  • Opened registration
  • Replaced 'Imperial' with 'Standard'
  • Bug fixes

v0.3.0

  • Unified map and dashboard UI
  • Security updates
  • New admin UI

License

Full license information available in LICENSE.md

Tracman: GPS tracking service in node.js Copyright © 2017 Keith Irwin

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.