Raspberry pi server in nodejs+express to control hardware through an API
git clone https://github.com/alcalawil/pi-server.git
cd pi-server
npm i
npm start
Set USE_GPIO=TRUE
to use in a Raspberry pi. If it's false, leds will be mocked by printing its status in console