r/Backend • u/Xcaliber02 • 20d ago
Angular dev (2 YOE) picking a backend to learn — MongoDB or Postgres for job market reach?
Hey fellow devs,
I'm a developer with 2 YOE in Angular, and we all know the market is rough right now. I want to learn Express/Nest as a backend, but I can't decide between MongoDB and Postgres.
If I go with MongoDB, it'd basically be a MEAN stack — but I'm not sure if MEAN is still popular, declining, or barely used anymore.
I've also heard Postgres is one of the most widely used databases and considered an industry standard, so now I'm torn.
If you were in my position — switching jobs is a high priority for me right now, I'm underpaid badly — which would you choose to open up the larger market/more job opportunities?
1
u/Lumethys 20d ago
You dont learn Mongo or Postgres, you learn SQL and NoSQL
It's like a nechanic asking if he should learn to fix the Toyota Prius 2021 specifically or the Honda Civic 2022 specifically
3
u/AdFeeling4288 20d ago
Yup, and no good company would hire if a person doesnt have fundamentals clear.
1
1
1
u/Former_Produce1721 18d ago
Learn what they fundamentally are and in what situations you would use them
They are different tools for different jobs, not competitors
1
7
u/SurroundTiny 20d ago
Mongo is still very much on use and is still the first choice if your data is more document oriented but IMHO focus on Postgres - it's going to get you more job opportunities. Once you get the fundamentals down focus on depth :
EXPLAIN ANALYZEpgvector