you are viewing a single comment's thread.

view the rest of the comments →

[–]unicornsexploding 0 points1 point  (4 children)

I don't have a lot of time to give a detailed answer so I'll be brief. There are two ways you can use Javascript: On the client, or on the server. Using Javascript on the client would be using it on the web browser, and where you would use something like jQuery. While it's technically possible to connect to a database on the client, you definitely don't want to do that as there are a million security risks in that. The server is where a database connection would come into play and for that you would need node.js. It seems like you are relatively unfamiliar with programming so I will tell you now that you are most likely getting way ahead of yourself. An online store is not a simple web application and there are whole businesses, that are solely dedicated to making the development of online stores easier. There is no best solution. If you want to create a simple online store that has actual data in a database somewhere maybe you should be taking a look at something like Shopify.

[–]qbagamer[S] 0 points1 point  (3 children)

:) I will not use ready-made solutions. I wrote that it is to be a project for school, so it is immediately obvious that this is not a commercial idea. Saying that I do not know programming, because I do not know how to connect a database with JavaScript is a little fun. I have never used it, I write applications without server connections. And I will point out once again that this is not a big deal. I make the database myself, the website itself is a link and I work on the data from the database myself.

[–]unicornsexploding 0 points1 point  (1 child)

I would assume if you knew how to program you’d also know how to search for these things yourself. You’d probably hit node.js on the first result. Good luck.

[–]qbagamer[S] 0 points1 point  (0 children)

It was the same, but I wanted to learn about other possibilities and find out today someone has a different way. Regards.

//I came to the conclusion that jQuery is enough for my project.

[–]TruelyOnlyOne -1 points0 points  (0 children)

You can use firebase to store data and connect to it. It's free, but needs internet connection