updated readme
This commit is contained in:
parent
d30d6096d1
commit
30c065abd6
|
@ -5,7 +5,7 @@ Flask web app for data visalization. Client side is built with [Chart.js](https:
|
||||||
The app exposes a simple api for querying the database and source sensor status available at /api/*function*.
|
The app exposes a simple api for querying the database and source sensor status available at /api/*function*.
|
||||||
The functions are:
|
The functions are:
|
||||||
|
|
||||||
- /api/getData
|
- /api/getdata
|
||||||
- Method: GET, POST
|
- Method: GET, POST
|
||||||
- Number of samples can be specified with argument samples=*desired number*, defaults to 120 i.e 2 hours.
|
- Number of samples can be specified with argument samples=*desired number*, defaults to 120 i.e 2 hours.
|
||||||
- Returns json with the datasets and information about sensor status
|
- Returns json with the datasets and information about sensor status
|
||||||
|
@ -17,9 +17,6 @@ The functions are:
|
||||||
|
|
||||||
The client side comprises of several parts:
|
The client side comprises of several parts:
|
||||||
|
|
||||||
- `templates/index.html` provides the basic html structure
|
- `templates/index.html` provides the basic html skeleton
|
||||||
- `static/styles/chartstyle.css` takes care of some basic styling and layout
|
- `static/styles/style.css` takes care of some basic styling and responsive layout
|
||||||
- `static/main.js` script taking care of creating the plots and gauges, requesting data from server and updating the view every two minutes.
|
- `static/js/main.js` script taking care of creating the plots and gauges, requesting data from server and periodically updating the view
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue