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

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

Assumption 1: this requires the use of some kind of database.

At first, I was going to go with mySQL, because this is the first DBMS I could think of, and it is open source, and there is a node.js. module there. But, while browsing the stack overflow and other sites, everyone talks about using mongoose, redis, and other things.

What should i use? Why should I use it? How far from the point am I?

+3
source share
3

Redis - , - . MongoDB Mongoose , CouchDB.

, , . , MySql, .

+1

MongoDB - . Redis ( ).

ORM, MongoJS Mongoskin. MongoDB .

+1

, , mongodb mongoose mongoose-auth .

If you plan to deploy this for production, you should find out what your hosting provider offers. If you did not choose to check the hosting provider Heroku . They offer PostgreSQL , and they really simplify the deployment of your application without worrying about setting up and configuring the server, etc.

0
source

All Articles