IOT planting prototype app using Arduino and some sensors like soil moisture sensor which send the data to Node.js server via router and socket.io allowing us to track and visualize the data on a web page.
Configure your WiFi network in arduino_secrets.h
.
#define SECRET_SSID "Your Router's SSID"
#define SECRET_PASS "Your Router's Password"
And enter your server address in arduino_nodejs.ino
.
char serverAddress[] = "Your server address";
In 'package' directory
$ npm install
And then run the server
$ node index.js
And then you should be able to see the app from http://localhost:8080