I am trying to connect to a database using JavaScript. I have read that it is not recommended to use Client-side to connect to the database, for multiple reasons. But right now I am just trying to make a working local version.
What are some suggestions for getting a working local version? Am I able to get it done with purely JavaScript even tho it is bad practice? Or do I need assistance by php/ajax to make it work?
I have no experience with PHP.