I
I
Ilya Kuznetsov2018-03-14 17:21:01
Database
Ilya Kuznetsov, 2018-03-14 17:21:01

Node.js can work with database?

Hello. I apologize for the stupid question, but I would like to tie the ability to work with the database to my application on node.js. Please, recommend from your personal experience what and where is better. I would appreciate it, thanks.
PS Google will not help me here. It is the personal experience and impressions of people who have already done this that excite me.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Skibin, 2018-03-14
@megafax

Node.js can work with database?
Yes
Please, recommend from your personal experience what and where is better.
https://www.google.ru/search?q=node+mongodb
https://www.google.ru/search?q=node+mysql
https://www.google.ru/search?q=node+ postgresql
Google won't help me here. It is the personal experience and impressions of people who have already done this that excite me.
Yes it works. Works great. He performs his tasks.
What task do you need to solve? And that we can and in general the DB is not necessary to you.

#
#, 2018-03-14
@mindtester

... it's hard to pass by... but it's also hard to add to the megafax answer )))
unless you try to increase the contrast from ignorance to reasonable requests in reasonable places? .. try?
https://github.com/search?utf8=%E2%9C%93&q=node.js... 1,625 repository results ;))
or so?
https://www.npmjs.com/search?q=database 5230 packages found for "database" too? ))
ok. personal experience - there is a cool resource, the habr is called, there the search by tags also works with a bang - you decide on the base then .. and you can throw a bait))
well, again, the colleague is right - maybe the question should be put differently? to understand - do you need a base? if so what?
good luck! ))
ps but in general there are a lot of nuances... someone sticks out on java, I personally am sharpist..)) .. I think so.. maybe the node is not the best choice? ;))

A
Alexey, 2018-09-03
@Softovick

I’ll add on my own (although what else to add, everyone has already answered).
Almost any database can be attached to node.js. And it all depends not on personal impressions, but rather on tasks. In some cases, like it or not, you will have to MySQL, because there is another application that works in MySQL ... Well, you understand?
According to personal feelings, if you write an application from scratch and the amount of data is expected to be large - MongoDB. If you figure it out and the volume is not very large - Redis without compromises in speed. If understanding noSQL is difficult - MySQL or PostgreSQL in most cases cope with tasks for approx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question