Am looking to create a local Arduino webserver using ESP8266. I want to host HTML and Javascript application in the webserver. The project will allow user to connect with Arduino using WiFi via ESP866 module and interact with the form. Upon interaction the input from user will be processed by Arduino and output will be sent back to users device.
I have found this useful tutorial on internet Arduino Webserver using ESP8266. However this tutorial uses only HTML webpage to display to user and allows it to interact with it.
What are the things I should modify to host a Javascript-HTML application instead of just HTML and how do I process the incoming data resulted from user interaction when comes to Javascript.
Any advice or lead is highly appreciated. Thanks in advance