Using nodejs and socket.io to allow a web application to talk with a raspberry pi that controls a candy dispenser.