The above example is available with coding and other details here http://www.amazon.com/dp/B01A1R31K2
In this video you will get to know about how to control an LED from a web browser using NODEMCU or esp8266 with Arduino IDE, all the details related to code and circuit diagram can found on this blog http://internetofthinking.blogspot.in/