Download and import in in arduino ide make sure ESP8266 is connected load the required library then upload the code and open serial monitor then press the button of NodeMcu then monitor will display the ip address of NodeMcu ,
then open any browser type the ip and go ,Done