New to webdev.
I’ve made a Processing program to open a proprietary game map file, generate a .png preview of the map and extract the meta data like the mapmakers name, map description, dimensions, etc.
I want to make a site to browse and download maps for the game, and trying to figure how all the pieces will work together.
I am thinking a p5js app that runs on clients to replace my processing program. The in-client app would load the map file, parse and display the meta data, generate and show the png preview, and have a submit button. The submit button would upload the file, and send a base64 png of the preview packed with the meta data as either SQL or maybe JSON.
Is this doable in p5js or should I look elsewhere? I haven’t started yet I’ve already ran into issues with loading local files in p5js ( is there a load file dialog I’m missing? ), also not finding info on sending the json/sql data or uploading files.
That’s the first half, the second half is making a browser for viewing over the database. This is where SQL makes sense to me because it would be relatively easy to query (ex maps by a certain author, or small maps).
Any advice or framework recommendations are appreciated, thank you!