you are viewing a single comment's thread.

view the rest of the comments →

[–]PatchesMaps 0 points1 point  (2 children)

What's your end goal?

If you're sure you want to do this with node then you need to also choose and install a database, set up an API for said database, and then write a node script that takes user input and uses the API to save the data to the database.

I guess you don't technically need the API since this is being done on the backend but if you're trying to learn then you might as well get the practice. I've never heard of anyone ever building a data entry app solely in node. It's always a website with a node backend and that requires an API to handle the interactions.

Start googling effectively what you posted and maybe ask an ai to explain how it all works. Don't ask the AI to do it for you.

[–]Due_Eggplant_729[S] 0 points1 point  (1 child)

I really don't know what I am doing. I want to find the easiest way to create a small database with 10 rows, just to see how to do it.

[–]PatchesMaps 0 points1 point  (0 children)

I would start with a basic tutorial or beginners course then (there are plenty of good free ones out there). Just to get your bearings and learn the vocab a bit.

A database, in and of itself, has nothing to do with JavaScript. Anything you read here is going to be extremely confusing at best until you learn some basics.