Minimal GPS live tracker example based on The Things Network tracker nodes.
- Node.JS (use a new-ish version, I tested with 8.x only)
- An account and application in The Things Network Console.
-
Clone this repository and open a terminal in that directory
-
Update your
appID
andaccessKey
in the index.js file -
Install dependencies:
$ npm install
-
Run it:
$ npm start
-
Browse to localhost:8080
If you want to release this onto the big wide interwebs, you can use any node.js hosting provider out there, but I particularly love now's insanely awesome service:
-
First make sure you have installed
now
globally:$ npm install -g now
-
Login to
now
:$ now --login
-
Deploy:
$ now
-
Profit! 🚀
This content is licensed under the MIT License, see the LICENSE file for details.