Skip to content

Latest commit

 

History

History
executable file
·
23 lines (17 loc) · 1.01 KB

README.md

File metadata and controls

executable file
·
23 lines (17 loc) · 1.01 KB

Road Conditions App

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.

Installation

  1. Install npm modules: npm install
  2. Install bower dependencies bower install
  3. Start up the server: node server.js
  4. View in browser at http://localhost:8080

Post datapoints

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

Alt text