Adding Web Button to Trigger Project (NanoMCU)

Hey Guys -

I am working on a door lock project where you press a single physical button that either unlocks or locks a door plus changes the RGB LED to red/green depending on the lock state. I built it all on a NanoMCU so I could also be able to trigger (emulate physical button press) using a web button or webhook. Unfortunately, I'm not sure how to do this. I know how to make a simple web server, but that's about it.

Attached are the schematics and layout from Visuino.

Any suggestions would be appreciated - Thanks!

"I'm not sure how to do this. I know how to make a simple web server, but that's about it."

Just google "esp8266 web server" and you should find many links to projects with working code. Also, check the arduino IDE for example code for web servers for your board.