So I made a weathermap with GeoServer and OpenLayers5.
Works fine and all, but NodeJS keeps giving me a hard time. Does anybody know how this really works?
Because I need input from the end-user, but NodeJS doesn't understand that. I need to be able to put in a date and update my WMS params so that I can show different types of weather (call different kind of layer groups from GeoServer). What the OL5 setup tells me to do is this: https://openlayers.org/en/latest/doc/tutorials/bundle.html. (NodeJS with NPM and Parcel/Make an index.html and index.js/Create a bundle/I can develop using NPM start/To create a production bundle I only have to 'npm run build' and then copy those dist files to my production server.) Seems easy enough. I did all the steps, and indeed I can now show a map with my GeoServer layers.
I asked a sort similar question on Stack Overflow and they directed me to Express. And I spend my whole morning watching tutorials on Express, but I do think it should not have to be this difficult. Especially since OL5 setup guide does not talk about any of that. Who can help me?