Node.js Web development in progress. First of all, DB is needed for membership management, but I think people often use mongoDB, what about MySQL?

Asked 2 years ago, Updated 2 years ago, 90 views

Node.js is being studied and developed.

First of all, I'm going to use DB because I need a member management function, so I'm seriously thinking about what to use.

It seems that MEAN often uses mongdb for node.js, but I use mssql

I am familiar with relational DB because I have about 2 years of experience.

I develop the web as a startup, and of course, it depends on the nature of the web app, but it is important to choose which DB I'd like to hear from experienced people. *(For example, experience using each DB, etc.)*

mongodb mysql node.js web

2022-09-22 21:53

1 Answers

You can just think of it as a trend.

All the way to Front <-> Server <-> DB uses Json, so there will be an advantage of eliminating separate serialization or abstraction layers, but these advantages quickly disappear over a certain scale.

Relational DBs such as MySql have been stabilized and validated for a very long time.

Also, in many cases, what is possible with NoSql is possible with RDB.

We recommend using MySql, which is familiar, easy to back up, and full of information and tools.

Mongo only saw the team next to him struggle to use it, and I tried MySql + Node.js to develop an internal statistical tool, and it stuck well.


2022-09-22 21:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.