I recently did such a program : an ESP32 runs a webserver and is part of a mesh made with painless mesh.
Information from other nodes of the mesh are sent to the ESP32 and displayed on a web page accessible from my cellphone either on my wifi network or outside.
The webserver part is based on this
example and
this one, the web page is based on
this one and the mesh is based on the examples of the painless mesh library