Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using node.js for my server, need to setup user accounts, which database program should I use?

I'm pretty new to the whole node.js thing (as well as servers, javascript and the internet in general). I'm setting up a node.js server and I want to be able to create user accounts.

Assumption 1: This requires using a database of some sort.

At first I was going to go with mySQL because it's the first DBMS I could think of and it's open source and there's a node.js module for it. But reading through stack overflow and other sites, everyone is talking about using mongoose, redis and other things.

What should I use? Why should I use it? How far away from making sense am I?

like image 302
Russbear Avatar asked Sep 16 '26 04:09

Russbear


1 Answers

Redis is a fast key-value store which is great for something like session. I see a lot of MongoDB with Mongoose in the community but I am more of a CouchDB person myself.

If you like learning new stuff you can try a few of them and see which one you like. If you have a deadline and you know MySql I would just stick with that for now.

like image 161
Pickels Avatar answered Sep 18 '26 23:09

Pickels



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!