Pretty simple question, probably everyone already have the answer so , I am doing a little project on my esp8266 and I am connecting my board to my WIFI the hardcoded way (very bad). I would like to create a small html setup page where the user can put the WIFI SSID and the WIFI password when I plug it to a pc or wirelessly , Like any router you would buy.
How can I do that? Should I use the esp as a Access Point and a a WIFI station to do the setup page?
All I know so far is that I need to store the html page with SPIFFS Thank you