Nodejs with Relational Database

Asked

Viewed 419 times

0

Guys, I came on a two-way road and I don’t know which one to go on. The problem is this: I’m started developing an application that is basically similar to a social network, will have chat, Timeline... these things you have on facebook, but is aimed at another business. I would love to use Nodejs + Mongodb for the development of the API, however, some developer friends have already reported problems regarding the need for relationship between Documents, from that I went to look for the alternative of the relational database, I thought in Postgresql, in that comes another doubt, Nodejs is worth it with relational database?

  • 1

    To use Postgres with Sequelize is almost identical with Mysql. problems regarding the need for relationship between Documents - will depend a lot on architecture, Nosql has its advantages especially when it requires scalability. Facebook also uses Apache Cassandra who is a Nosql.

  • Postgres, from version 9 (unless mistaken) has JSON fields, of course it is not a complete implementation "like Mongo", but gives to do a lot of the world nosql, see that answer. At the end there is a link to these Postgres Sites.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.