If you had taken the time to try and combine the code I gave you for the AP connection and the webserver code from my hackster project, you'd find it wasn't that hard. Even a guy with my limited abilities was able to bust out a quick concept in a few minutes.
from m5stack import *
from m5ui import *
from uiflow import *
import network
try:
import usocket as socket
except:
import socket
def web_page():
html = """<html><body>M5Stack AP Server</body></html>"""
return html
ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid='ESP32Luke')
ap.config(authmode=3, password='123456789')
lcd.clear()
response = None
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('192.168.4.1',80))
s.listen(5)
while True:
conn, addr = s.accept()
request = conn.recv(1024)
request = str(request)
print ('Content = %s' % request)
lcd.print('Content = %s' % request,0,50,0xffffff)
if ap.isconnected() == True:
lcd.print('connected',0,0,0xffffff)
else:
lcd.print('not connected',0,0,0xffffff)
response = web_page()
conn.send('HTTP/1.1 200 OK\n')
conn.send('Content-Type: text/html\n')
conn.send('Connection: close\n\n')
conn.sendall(response)
conn.close()