I'm creating my sixth Cordova app, but this is by far the most complicated one – it will have to upload user-submitted data to a server. The data is basically nine different HTML text fields and the user's coordinates (with cordova-plugin-geolocation).
I've been googling for hours, and I'm still quite lost. I have a little experience with servers, but absolutely none with uploading data to them with Cordova/JS. I figured that you guys and gals probably know a lot more about this than me, so my question is:
What would be the smartest way to upload these ten strings of text to a single file on a remote server? Please note that this is not a single event, so the user must be able to upload several different sets of data over time without the files overwriting the previous files. There will also be many users to this app, so each user should probably have their own subfolder on the server, right?
Thank you so much for your help in advance!