Tuesday, 1 September 2020

Learning MERN stack soon already worried about MongoDB being inferior to PostgreSQL

Well, I'm planning out my learning path to learn the MERN stack and be a junior full-stack dev. I have a few months of free time to dedicate a full-time schedule to learning for some background I am a former WordPress dev who can work with HTML, CSS, jQuery comfortably and know enough PHP and WordPress to develop a WordPress site. Vanilla JS is my weak point and I am already writing all my code in Vanilla JS the past few weeks and have ditched jQuery entirely but I still need a solid 2 weeks of building nothing but vanilla JS projects to really prepare me to jump into learning React and then learning the MERN stack.My concern right now is how much effort I should put into learning MongoDB when it seems everywhere I look PostgreSQL seems to offer some type of feature called "JSONB" that does basically what MongoDB does, is this true? Are there any advantages over using MongoDB in the MERN stack over PostgreSQL? Or is every company that is running a node backend using PostgreSQL over MongoDB anyways?What advantages does MongoDB have over PostgreSQL? I understand MongoDB is a non-relational DB and that PostgreSQL is a relational DB, but besides that is there a performance advantage using MongoDB with Node and Express?I will obviously learn enough MongoDB To make some basic projects but I want to make sure I make time to learn PostgreSQL (and just SQL in general) so I can be as prepared as I need to be.​The goal is to get a job either as junior frontend or hopefully junior full-stack.

Submitted September 01, 2020 at 07:31PM by bright-bright-fox

No comments:

Post a Comment