full stack developer ·
Needs advice
on
MongoDBMongoDBNode.jsNode.js
and
PostgreSQLPostgreSQL

Hi everyone, I need some advice, I have the basics of NoSQL (MongoDB) and SQL (PostgreSQL) and I want to pick one of them to deep dive as a backend Node.js dev, based on:

  1. That have most jobs posted on freelance websites with node
  2. Most companies hire for backend node.js with this database

This is for when I end my learning journey with portfolio projects.

READ LESS
9 upvotes·30.1K views
Replies (3)

ArangoDB allows application developers to write their data access and domain logic as microservices running directly within the database with native access to in-memory data. The Foxx microservice framework makes it easy to extend ArangoDB’s REST API with custom HTTP endpoints using modern JavaScript running on the same V8 engine you know from Node.js and the Google Chrome web browser.

Unlike traditional approaches to storing logic in the database (like stored procedures), these microservices can be written as regular structured JavaScript applications that can be easily distributed and version controlled. Depending on your project’s needs, Foxx can be used to build anything from optimized REST endpoints performing complex data access to entire standalone applications running directly inside the database.

https://github.com/skitsanos/foxx-builder

Hi,

I have been doing NoSQL for a long while, even before it was a thing. Berkely DB XML, Sedna, IBM DB/2 with their XML/Xquery types, even own XML-over-FS. Then there was CouchDB, known to some as IBM Cloudant - the only IDE ever made for it was my work.

Back in time, I used to write those 3-tier apps where I always needed to have a backend, and most of my backends were on Node.js; what got changed with ArangoDB’s arrival was - that I could get rid of one element; I had no need anymore for the database backend. Imagine you have a database with a V8 JavaScript engine sitting on top of it. So you continue developing your code in Node.js but deploy it directly to the database without needing Fastify, Express, Nest, or whatever.

The query language in ArangoDB - AQL (https://www.arangodb.com/docs/stable/aql/) will bring you some pleasure, especially if you come from the MongoDB world. For me, it was somewhat even easier to jump in because I had a background in XQuery; SQL, on the other hand, was always an ugly duck for me.

Sometimes (or most of the time), it is not the best thing to follow mainstream trends and hypes; it is something you will have to decide for yourself, do you want to be ‘just another developer’ or a developer that creates products and stands out. Aligning yourself with skillsets from freelancing sites is not the best way of advancing your career; you need something that will stand you out.

ArnagoDB solves you, besides the tech stack, headaches like learning curve, maintenance, scalability, and simplicity in growing your development team and making your backend(less) more complex.

I can reveal you our secret weapon for 95% of apps: (Netlify + OpenResty + ArangoDB) - for the backend, (React + UmiJs + Ant.Design + ahooks) for the frontend. I’ve created and open-sourced Foxx-Builder as a tool to build APIs even faster way than ArangoDB provides by itself, have a look at https://github.com/skitsanos/foxx-builder I have tried to document it in the most detailed way possible.

And here are some links for you

READ MORE
5 upvotes·1 comment·29.3K views
yusuf963
yusuf963
·
August 2nd 2022 at 10:16AM

go for SQL (PostgreSQL in particular) this option will serve you well as a data store for node server and for data analysis, and when the job requires NoSQL, go for Firestore(it is simple and its NoSQL)

·
Reply
Recommends
on
MongoDB

They are both fine and you will probably work with both, and many more, during your work career. So there isn't really a preferred one. I would suggest you start with Mongo just because they have a really good learning websites where you find many courses. You can use their cloud trial database to power your first applications for a fast setup. If you plan to be a backend engineer you will also need a solid grasp of SQL and Relational Databases like PostgreSQL too, so make plans to learn that too.

READ MORE
Free MongoDB Official Courses | MongoDB University (university.mongodb.com)
4 upvotes·25K views
View all (3)
Avatar of Evgenios Skitsanos

Evgenios Skitsanos

Skitsanos Inc.