Can I use localhost?
Baconman321 (1103)

I am using this repl for a test, however I want to apply it to a project. I want to know what exactly remote and local databases are. I also want to know, if someone else from another computer enters information in, and the code says to store it in localhost, can I access that. Like, when they say localhost, does that mean only I can add information to it through the web browser, or does it mean it is hosted on my computer and people can still add information to it?

You are viewing a single comment. View All
Answered by eankeen (2243) [earned 5 cycles]
View Answer
Baconman321 (1103)

@eankeen Thanks! That was really in-depth! Ok, so I am making a feedback page, and I just make it so it stores user input into a database that I can access later, no login pages. I really have a hard time learning this, so I'll just ask the question: Can I have other users store user input into a database, without having to add people to the database manually, or what exactly do I have to do? Also, if you work with PouchDB, can I have some help with that too? I am trying to add information, like have one document, and then add information to that document (in this repl, it's the test variable). I know it would be easier to add a new document, but if I add a new document, it will basically have the same name and id. Example: I make a var "test" and add it to a document, but if a user enters input, it will create a new document with the same name "test" so will the computer get mixed up? Or can I add documents with the same name? If not, then how do I make it so it adds a different name to the documents?