We have a raspberry pi (with
raspbian OS) that runs some application, this application uses a local configuration file that contains some data like username, password, server url etc. We will provide raspberry pis (with the software installed) to users, they will have to connect them to their local network. We want to provide a way for users to change the configuration file. The solution so far is to create a local configuration web page (similar to the ones routers usually have), so the users can access this web page from their LAN and change all necessary configuration data.
What will be good solutions to do that? So far I have an idea to run a local web server on the raspberry pi, that will run some front end web page with the UI, it will be communicating to a local back end application (NodeJS as an option) that in turn will be modifying a configuration file. Are there any caveats for this solution? Are there any better/easier solutions to achieve that? Also I would like to know how this is usually done on routers?