Webapplication with Stepper Control on ESP32

Good morning

For school work I am building an automatic cat food dispenser that dispenses food twice a day using a stepper. Now one of the requirements was that I could control the stepper via a web application / website (local is enough, it doesn’t have to be available from everywhere). Does anyone have any idea how I could set up such a small web server including a controller? The whole thing runs via an ESP32, which is integrated into the HA via ESPHome.
Thank you and have a nice Sunday.

Not much to go on… Is the web interface required to run on the ESPHome node? Control the stepper how? Perform some pre-programmed actions or just move to some position?

More details of what you are trying to achieve plus an example of what your current code looks like so far would be good.