Moderator: igrr
Simply start looking at ESP8266WebServer example.
https://github.com/esp8266/Arduino/blob ... Server.ino
Of course, the buttons need to be added, but it quite simple HTML code that will do some AJAX calls which will be receive by ESP Web Server under their own path. Then, you can have server.on() for each path, one per button, and you add your motor control code inside them.