Open adushaj2022 opened 3 years ago
If you are just looking for the protected routes and maybe storing the scores in a database, PHP would be fine too. But surely a Node.JS environment can provide more capabilities and better code integration with the client-side. Would also need to decide on the method to store user data (Database?).
I also think that coding the back-end with javascript can greatly improve the contributions from the community.
If we want a better login system and too have protected routes (making it required to be logged in to play game). We might want to introduce a server side language. Since we are already on an apache server, php would be the easiest to use. However we can also switch to a node js environment