I’m constructing an internet sport and have already coded plenty of the frontend javascript, HTML, and CSS. So now I wish to know if I ought to use NODE.JS or PHP to retailer my consumer information and stats (ought to be capable to hold/retailer JavaScript variables). I’ve browsed round for whereas and carried out some analysis however I nonetheless cannot discover a good one all of the sources gave the impression to be tied. And for my backend server knowledge administration, I wish to use MYSQL. However I appear to be leaning towards node js extra as a result of I do not wish to convert all of my javascript into PHP for my sport. I’m going to be getting my area on-line and storing all of the recordsdata on my laptop computer has Ubuntu Server put in in it and is 10 years previous however nonetheless fairly common in pace. I’ve the web site up on a free on-line server and hoster and I’ve a number of bugs in it however It would assist determine what to make use of.
https://testghunt1production2022.netlify.app/play.html
The factor is I obtained not less than 700 strains of js already and gonna be a ache studying PHP and rewriting all of the code and determining a technique to entry the DOM with it. However, it’s going to be value it rewriting if its not less than 80% higher than node.js.