0
I am programming a web electronic point system, I am at the beginning still and my knowledge with web programming is still at the beginning. I initially developed the front-end part by HTML and then started thinking about the back-end part.
I was using firebase as back-end (direct scripts in Javascript) but I gave up for some problems and with researches I saw that it was not the best way to be done. I have knowledge in Mysql and thought of using as back-end and Javascript as front-end, but I did not find any tool that can do this for me.
I researched about Node.js but from what I found the beginning was developed by Apis. So I wanted to know if there is any way to use Javascript with any more tool to communicate with the database (Mysql) so that I can enjoy the screens (Forms) already made in HTML.
All right then let’s say I chose Node.js, I saw some examples and the way they were made was via console. Develop database connection commands and commands for example to create a table in a Javascript file and have it executed via a console command (e.g., Node create-table.js). I need to understand how to accomplish this "automatically". What I’m thinking is: the user interacts with the page in a form, I get this data from Javascript and send it to the database using Node.js. I want to understand how to do this correctly and safely.
– Tiago Abdalla
@Tiagoabdalla If you understand the answer correctly, the question you should ask is "how to process an HTTP request with Node?". Seek to answer this and it will solve your doubts.
– Woss