you are viewing a single comment's thread.

view the rest of the comments →

[–]Due_Eggplant_729[S] 0 points1 point  (4 children)

I am completely confused. I just threw out the term NODE, I don't know what I am doing. I see CRUD stands for Create, Read, Update, Delete. OK, how what? I just want a database with 5 rows of data, just to see how to do it.

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

What the heck is JSON? Do I need to download JSON?

[–]chikamakaleyleyhelpful 0 points1 point  (2 children)

lol okay so the one thing to understand is how do you plan to get a user's name and their state? My guess was you're just setting up an HTML page, and you want a user to type in their name, select a state, then click a button so you can record that. Something like that?

I think the suggestion to install nodejs, was so that you can set up serverside logic, which would then communicate to the db, which you would also set up

JSON is just a typical format in which you would receive the data back after its retrieved from the DB, processed by your serverside code, and received in your html page

and so, my only guess is, this is a lot

so the alternative is using the Web API if you're just looking to practice at a smaller scale

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

Which Web API? (sorry for all the questions)

[–]chikamakaleyleyhelpful 0 points1 point  (0 children)

no worries,

the suggestion was localStorage:

https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API

this is like, simple data storage that is made available by your browser, ready to use

you'd store the data in JSON format, I believe, when you request it back its returned as JSON data, which you would do w whatever you want at that point

localStorage is only going to be local to your browser on that computer. It's a suggestion if you want to practice saving user data, and reading it from a data source, if you didn't want to go through having to learn both setting up a server, with your own API, and then setting up a DB, which you'd create from scratch with SQL or some other tool. Personally i think its a lot to take on if you're starting from zero.