This project was built for the course D0020E at Luleå Tekniska Universitet.
It contains a frontend website and a server. The website visualises data it gets via websocket from the server. The data is real-time sensor data from WideFind sensors.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
For compiling this project you need
- Node.js
- npm (included in node.js installation)
Open the folder for the part you want to compile in a terminal.
First, install the dependencies using
npm install
Configure the specific settings in the config.js
file.
Start it using
npm start
When it's up and running you get several different options to enter in the terminal
u Gets the latest data from the widefind database and transmits it.
s Starts listening for updates on the widefind database and transmits new data when it arrives.
a Gets all active sessions.
r Starts replaying data from the mongoDB.
b Spoofs some locationdata.
h Displays this help.
Just open index.html
in any modern browser.
Connect to the server by entering its IP-address.
- Node.js - The JavaScript Compiler
- npm - Dependency Management
- MongoDB - The persistent storage
- RethinkDB - The sensor database
- Express - The Web framework
- WS - The Websocket framework
- Three.js - Library for rendering WebGL in JavaScript
Git Guide, courtesy of @MTBorg
This project is licensed under the MIT License - see the LICENSE file for details