Node JS application using React to interface with the SmartThings API for smart device (IoT) control. Project is divided into two parts:
Communicates to SmartThings API and serves data to Client app.
React App front-end that calls to Server for data from SmartThings API.
This is the "smart hub" that's communicating with all the smart devices. Different manufacturers devices may return different responses or implement fewer components.
To host the application, make sure the following are installed on the machine:
- NodeJS: web server and build tool (Version 14.18.0 is confirmed to build properly)
- Download repository to desired location
- Build React app by running
npm run build
in the client directory - Serve the app by running
node server.js
in the server directory