What database to use?

Question:

My site bassicly collects user input, put its on db (currently local storage) as a json stringify, and can load it. I dont know a good db to use/find a tutorial i can follow allong just to save the data, and get the data.

I don’t have any experience with any dbs but I do know there is one built into Replit (Replit db). You can also use other dbs but some people have been having trouble with them but Replit staff did say they are going to integrate them with Replit.

3 Likes


wont work

Replit uses Node.js to run the JS. So you can use Node.JS to use Replit db

2 Likes

oooooooooooooooooooooooooooo
i will try this out then.

Replit DB has features perfect for this. I think it has a Node.js client. I would recommend Mongo DB or Supabase which has examples for JS.

2 Likes

To be clear, if you have a HTML, CSS & JS Repl, Replit Database (and many others) won’t work, you will need a NodeJS (or other server-side) Repl.

2 Likes

you could use Firebase Database so that you don’t have to use backend in your repl.

1 Like