MEAN Stack Application for showing road conditions collected by embedded sensors on cars. Road conditions are stored to MongoDB using REST Api. This repository is solely for web application of this project and doesn't contain code for embedded sensors.
Based on starter application made by scotch.io.
- Install npm modules:
npm install
- Install bower dependencies
bower install
- Start up the server:
node server.js
- View in browser at http://localhost:8080
Using for example postman, datapoints can be posted to http://localhost:8080/api/nerds using x-www-form-urlencoded format. Example values:
Key | Value |
---|---|
geometry[coordinates] | 24.840558, 60.188861 |
properties[name] | temperature: -1, humidity: 85% |
properties[condition] | ice |