docker build -t hue_react .
docker run -d -it -p 8001:80/tcp --name hue_react --restart unless-stopped hue_react
This is a simple ReactJS web application that shows how the Philips Hue API can be used for controlling Philips Hue lights.
Usage:
Get the IP-address of your Philips Hue bridge and fetch a new username token (see https://developers.meethue.com/documentation/getting-started).
Modify src/config.json with the IP address and the username
Run yarn install
Run yarn start