Which NodeJS Framework support relational databases?

I am starting server-side development using NodeJS, I have found many promising frameworks, but I cannot determine which of them support relational databases (namely Postgres).

Any ideas? Server-side MVC frameworks are preferred.

+4
source share
4 answers

Express is a universal card (and really popular), you can use it with any database you need. You just need a database driver. You can use one of them:

https://github.com/brianc/node-postgres (low)

https://github.com/grncdr/node-any-db

https://github.com/brianc/node-sql

There are probably many others, just Google.

+4
source

view the list of modules here

there are many db modules for mysql / SQLite / PostgreSQL, etc.

+2
source

I would go with Sequelize.js . This is ORM for Postgres and MySQL. He recommended in some books about node.js. I gave it a try and it looked promising.

On the other hand, I asked myself the question: if I need to use a relational database, is node.js still a good choice?

+1
source

sails.js is built on express (see @freakish answer) and supports MySQL, Postgres and more than a dozen other NoSQL and SQL databases.

+1
source

All Articles