Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khanguslee/mhp-das-web-server
Monash Human Power - Data Aquisition System Web Server.
https://github.com/khanguslee/mhp-das-web-server
Last synced: 18 days ago
JSON representation
Monash Human Power - Data Aquisition System Web Server.
- Host: GitHub
- URL: https://github.com/khanguslee/mhp-das-web-server
- Owner: khanguslee
- Created: 2018-06-26T10:48:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:14:36.000Z (almost 2 years ago)
- Last Synced: 2024-10-02T11:41:13.120Z (about 1 month ago)
- Language: JavaScript
- Size: 74.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monash Human Power - Data Acquisition System Web Server
**REPO IS NOW OUT OF DATE, UPDATED CODE HERE: https://github.com/Monash-Human-Power/MHP-DAS-Web-Server**
A web server for the Data Acquisition System (DAS) for Monash Human Power.
The node.js + Express HTTP REST server is used to host the real-time dashboard whilst the MQTT broker is used to transfer data from the sensors to all the necessary scripts that need it.
## Getting Started
1. `npm install` to install all dependencies and libraries
2. `npm run build` when it's your first time running the application
3. `npm start` to start the server## Documentation
Base URL: http://das-web-server.herokuapp.com|Endpoint|Method|Body|Description|
|--------|------|----|-----------|
|/start|POST|{"filename" : *data_YYYY_MM_DD_HH_MM_SS* }|Notify server that a new data recording session has started|
|/result|GET||Returns current sensor data|
|/result|POST|TODO|Data to be stored within the specified csv file|
|/result/all|GET||Returns all sensor data|
|/files|GET||Returns an array of files that are stored on the server|
|/files/recent|GET||Download most recent file edited from server|
|/files/*filename*|GET||Download specified file from server|
|/files/*filename*|DELETE||Delete specified file from server|
|/server/status|GET||Status of the server|