I want to do a nodemcu webserver using XOD to display string status of switches, any examples?

i want to do a nodemcu webserver using XOD to display string status of switches, any examples?