Skip to content

KY64/vSense-Web

Repository files navigation

vSense-Web

vSense is a real-time monitoring website to view data from sensors placed around the factory.

NOTE: The CocaCola company logo is used for design purpose. This project is a personal project not affiliated with any company

Setting Up

1. Clone Repository

Run git clone https://github.com/KY64/vSense-Web.git on Terminal or just click Download

2. Install dependencies

Navigate to repo directory

$ cd vSense-Web

Install dependencies

$ npm i

3. Run the web

To run web on local server:

npm run test

or just navigate to https://vsense.herokuapp.com/



Post/Get/Delete

Let's assume when I write this

/index

is equal to

[website url]/index
ex: localhost:3000/index

GET

List Sensor Data


/data


List Specified Sensor Data

  • sensor : sensor name/type

/data/[sensor]


POST

Upload Sensor Data

  • sensor : sensor name/type
  • val : sensor value

/data?sensorName=[sensor]&value=[val]


DELETE

Delete All Sensor Data


/data


Delete Specified Data

  • id : data ID

/data/[id]


About

Dashboard for Real-Time Sensor Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published